Borderou de evaluare (job #319387)

Utilizator avatar vladioan birsan vlad ioan vladioan IP ascuns
Problemă Turist (clasa a 8-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 28 oct. 2017 12:45:34 Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:31: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat] user.cpp:36:31: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat] user.cpp:42:35: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat] user.cpp:42:35: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat] user.cpp:64:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:32:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:33:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:35:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:36:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:42:36: 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 OK 10
2 0 ms 268 kb Incorect 0
3 0 ms 264 kb Incorect 0
4 0 ms 268 kb Incorect 0
5 20 ms 296 kb OK 10
6 0 ms 272 kb OK 10
7 4 ms 276 kb OK 10
8 0 ms 268 kb OK 10
9 0 ms 264 kb Incorect 0
10 0 ms 264 kb Incorect 0
Punctaj total 50