Borderou de evaluare (job #336488)

Utilizator avatar Louiz Cohen Louis Louiz IP ascuns
Problemă Vrăji (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 4 ian. 2018 14:52:23 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int divcom(int, int)’: user.cpp:14:5: error: ‘thread_local’ was not declared in this scope user.cpp:14:18: error: expected ‘;’ before ‘int’ user.cpp:15:5: error: ‘divmax’ was not declared in this scope user.cpp: In function ‘int maxv(int*, int)’: user.cpp:27:5: error: ‘thread_local’ was not declared in this scope user.cpp:27:18: error: expected ‘;’ before ‘int’ user.cpp:28:5: error: ‘maxt’ was not declared in this scope user.cpp: In function ‘int main()’: user.cpp:40:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:45:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:49:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function ‘int divcom(int, int)’: user.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type] user.cpp: In function ‘int maxv(int*, int)’: user.cpp:37:1: warning: control reaches end of non-void function [-Wreturn-type]