Borderou de evaluare (job #47648)

Utilizator avatar mihaibun Bunget Mihai mihaibun IP ascuns
Problemă Apariții Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 27 ian. 2014 00:14:40 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:20:74: error: expected ‘}’ before ‘else’ user.cpp:21:26: error: expected ‘}’ before ‘else’ user.cpp: At global scope: user.cpp:26:6: error: expected unqualified-id before ‘for’ user.cpp:26:15: error: ‘i’ does not name a type user.cpp:26:24: error: ‘i’ does not name a type user.cpp:28:3: error: expected unqualified-id before ‘return’ user.cpp:29:1: error: expected declaration before ‘}’ token user.cpp: In function ‘int main()’: user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]