Borderou de evaluare (job #54212)

Utilizator avatar cygnus Cygnus Computers cygnus IP ascuns
Problemă Jack Saritorul Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 14 feb. 2014 15:07:08 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:9:18: error: expected ‘)’ before ‘;’ token user.cpp:9:15: warning: unused variable ‘i’ [-Wunused-variable] user.cpp:9:19: error: ‘i’ was not declared in this scope user.cpp:9:27: error: expected ‘;’ before ‘)’ token user.cpp:14:11: error: expected primary-expression before ‘;’ token user.cpp:14:11: error: expected ‘)’ before ‘;’ token user.cpp:14:34: error: expected ‘;’ before ‘)’ token 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:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]