Borderou de evaluare (job #1618377)
Utilizator | Data | 27 februarie 2016 19:51:50 | |
---|---|---|---|
Problema | Next | 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:60:36: warning: operation on ‘dim’ may be undefined [-Wsequence-point]
cif[dim] = cif[dim++] - '0';
^
user.cpp:71:13: error: ‘out’ was not declared in this scope
out << int(cif[i]);
^
user.cpp:77:13: error: ‘out’ was not declared in this scope
out << int(cif[i]);
^
user.cpp:53:11: warning: unused variable ‘fout’ [-Wunused-variable]
FILE *fout = fopen("next.out", "w");
^
user.cpp:57:10: warning: unused variable ‘c’ [-Wunused-variable]
char c;
^
user.cpp:58:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(cif, 1000004, fin);
^
user.cpp:65:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(t, 20, fin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !