Borderou de evaluare (job #261782)

Utilizator avatar iulianrotaru Rotaru Iulian iulianrotaru IP ascuns
Problemă Cyber (clasa 5-6) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 25 dec. 2016 16:30:45 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat] user.cpp:12:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat] user.cpp:13:21: warning: operation on ‘x’ may be undefined [-Wsequence-point] user.cpp:25:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat] user.cpp:25:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat] user.cpp:25:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat] user.cpp:26:21: warning: operation on ‘x’ may be undefined [-Wsequence-point] user.cpp:27:21: warning: operation on ‘y’ may be undefined [-Wsequence-point] user.cpp:28:21: warning: operation on ‘x’ may be undefined [-Wsequence-point] user.cpp:33:19: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat] user.cpp:44:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat] user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:10:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:12:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:25:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:37:30: warning: ‘cdet’ may be used uninitialized in this function [-Wuninitialized]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 284 kb OK 10
2 0 ms 288 kb OK 10
3 0 ms 292 kb OK 10
4 0 ms 284 kb OK 10
5 0 ms 288 kb OK 10
6 0 ms 288 kb OK 10
7 0 ms 284 kb OK 10
8 0 ms 288 kb OK 10
9 0 ms 292 kb OK 10
10 0 ms 288 kb OK 10
Punctaj total 100