Borderou de evaluare (job #488606)

Utilizator avatar s.gabi Gabriel Stanculescu s.gabi IP ascuns
Problemă Schi (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 28 sept. 2019 22:07:13 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'int prim(int, int*)': user.cpp:12:12: error: redefinition of 'int prim(int, int*)' user.cpp:5:12: error: 'int prim(int, int*)' previously defined here user.cpp: In function 'int main()': user.cpp:25:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat] user.cpp:36:40: error: 'ultim' was not declared in this scope user.cpp:20:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:21:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:23:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:25:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:28:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:31:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:34:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]