Borderou de evaluare (job #41248)

Utilizator avatar denis denis chirita denis IP ascuns
Problemă Talent (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 10 ian. 2014 18:14:32 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:18:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:22:47: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] user.cpp:26:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:26:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat] user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 240 kb OK 10
2 0 ms 244 kb OK 10
3 0 ms 244 kb OK 10
4 0 ms 248 kb OK 10
5 0 ms 248 kb OK 10
6 0 ms 248 kb OK 10
7 8 ms 248 kb OK 10
8 4 ms 248 kb OK 10
9 4 ms 244 kb OK 10
10 8 ms 240 kb OK 10
Punctaj total 100