Borderou de evaluare (job #18928)

Utilizator avatar 9a_echipavaloare Numerar Bistari 9a_echipavaloare IP ascuns
Problemă Jimjam (clasa a 5-a) Compilator cpp
Rundă concurs_mai_9a Status evaluat
Dată 13 mai 2013 18:18:30 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'int main()': user.cpp:8:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat] user.cpp:9:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat] user.cpp:10:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat] user.cpp:11:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat] user.cpp:17:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat] user.cpp:22:5: error: expected primary-expression before '}' token user.cpp:22:5: error: expected ';' before '}' token user.cpp: At global scope: user.cpp:23:5: error: expected unqualified-id before 'if' user.cpp:25:5: error: expected declaration before '}' token user.cpp: In function 'int main()': user.cpp:6:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:7:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:8:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:10:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:11:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]