Borderou de evaluare (job #57426)

Utilizator avatar gioto Popescu gioto IP ascuns
Problemă Inimioare (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 25 feb. 2014 11:03:05 Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat] user.cpp:14:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat] user.cpp:14:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat] user.cpp:14:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat] user.cpp:14:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat] user.cpp:36:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat] user.cpp:36:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat] user.cpp:36:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat] user.cpp:36:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat] user.cpp:8:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:14:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:36:43: 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 268 kb Incorect 0
2 0 ms 264 kb Incorect 0
3 0 ms 264 kb Incorect 0
4 0 ms 268 kb Incorect 0
5 0 ms 264 kb Incorect 0
6 0 ms 264 kb Incorect 0
7 0 ms 260 kb Incorect 0
8 0 ms 264 kb Incorect 0
9 24 ms 292 kb Incorect 0
10 28 ms 292 kb Incorect 0
Punctaj total 0