Borderou de evaluare (job #108248)

Utilizator avatar pati_manole Manole Patricia pati_manole IP ascuns
Problemă Cale ferată (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 20 ian. 2015 19:35:00 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:13:15: warning: variable ‘j’ set but not used [-Wunused-but-set-variable] user.cpp:13:21: warning: unused variable ‘s2’ [-Wunused-variable] user.cpp: At global scope: user.cpp:22:1: error: ‘s’ does not name a type user.cpp:23:1: error: ‘cout’ does not name a type user.cpp:24:1: error: ‘i’ does not name a type user.cpp:25:1: error: ‘j’ does not name a type user.cpp:26:1: error: expected unqualified-id before ‘while’ user.cpp:30:1: error: expected unqualified-id before ‘while’ user.cpp:40:1: error: ‘cout’ does not name a type user.cpp:42:1: error: expected unqualified-id before ‘return’ user.cpp:44:1: error: expected declaration before ‘}’ token user.cpp: In function ‘int main()’: user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]