Borderou de evaluare (job #205833)

Utilizator avatar cyg_ieeu Vasile Radu cyg_ieeu IP ascuns
Problemă Numere 6 (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 22 feb. 2016 16:54:35 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void cod(int)’: user.cpp:68:19: error: ‘print’ was not declared in this scope user.cpp: In function ‘void print(int)’: user.cpp:73:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat] user.cpp: In function ‘int main()’: user.cpp:77:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:78:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:80:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function ‘void cod(int)’: user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]