Borderou de evaluare (job #1860997)
Utilizator | Data | 28 ianuarie 2017 15:18:32 | |
---|---|---|---|
Problema | Specsort | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:12: error: ‘p’ was not declared in this scope
if(p[x-1] == 0)
^
user.cpp:54:9: error: ‘p’ was not declared in this scope
p[x] = i;
^
user.cpp:44:9: warning: unused variable ‘byte’ [-Wunused-variable]
int byte, n, i, x, ans = 0;
^
user.cpp: In function ‘char getChar()’:
user.cpp:19:52: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(pos == BUF) pos = 0, fread(buf, 1, BUF, fin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !