Borderou de evaluare (job #215999)

Utilizator avatar andreiskior Andrei Cristian Nastase andreiskior IP ascuns
Problemă Lăcusta (clasa a 10-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 5 mar. 2016 17:47:47 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat] user.cpp:18:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat] user.cpp:21:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat] user.cpp:24:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat] user.cpp:41:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat] user.cpp:14:9: warning: unused variable ‘sum’ [-Wunused-variable] user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:18:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:21:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:24:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:41:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:58:41: warning: ‘jminn’ may be used uninitialized in this function [-Wuninitialized]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 268 kb OK 10
2 0 ms 280 kb OK 10
3 0 ms 304 kb OK 10
4 0 ms 376 kb OK 10
5 0 ms 380 kb OK 10
6 4 ms 496 kb OK 10
7 0 ms 424 kb OK 10
8 4 ms 352 kb OK 10
9 4 ms 472 kb OK 10
10 4 ms 508 kb OK 10
Punctaj total 100