Borderou de evaluare (job #8658)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre2 | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 feb. 2013 13:24:58 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:14: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat]
user.cpp:11:5: error: expected ‘}’ before ‘else’
user.cpp:4:8: warning: unused variable ‘i’ [-Wunused-variable]
user.cpp:5:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:7:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]