Borderou de evaluare (job #10339)

Utilizator avatar blackheim Petru Stefan Friptu blackheim IP ascuns
Problemă Maxim (clasa 7-8) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 16 feb. 2013 12:30:34 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'int main()': user.cpp:45:28: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat] user.cpp:45:28: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat] user.cpp:45:28: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat] user.cpp:48:16: error: 'itoa' was not declared in this scope user.cpp:69:3: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] user.cpp:75:24: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat] user.cpp:44:26: warning: unused variable 'd' [-Wunused-variable] user.cpp:40:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:41:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:45:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]