Borderou de evaluare (job #1915406)

Utilizator zdavid112zIon David-Gabriel zdavid112z Data 8 martie 2017 20:55:59
Problema Hanoi2 Status done
Runda Arhiva de probleme Compilator cpp
Scor 15

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:14: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses] if(lg[1] == lg[2] == lg[3] == 0) ^ user.cpp:47:23: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses] if(lg[1] == lg[2] == lg[3] == 0) ^ user.cpp:40:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hanoi2.in", "r", stdin); ^ user.cpp:41:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hanoi2.out", "w", stdout); ^ user.cpp:43:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &d, &lg[1], &lg[2], &lg[3]); ^ user.cpp:46:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbnu s-a format coloana! 0
20ms256kbnu s-a format coloana! 0
30ms256kbnu s-a format coloana! 0
40ms260kbnu s-a format coloana! 0
50ms272kbcorect!!! 5
60ms264kbcorect!!! 5
70ms252kbnu s-a format coloana! 0
820ms264kbdisc plasat gresit pe linia 0
90ms256kbnu s-a format coloana! 0
100ms260kbnu s-a format coloana! 0
110ms256kbnu s-a format coloana! 0
120ms256kbnu s-a format coloana! 0
1340ms268kbdisc plasat gresit pe linia 0
140ms272kbdisc plasat gresit pe linia 0
150ms256kbnu s-a format coloana! 0
160ms252kbnu s-a format coloana! 0
170ms256kbnu s-a format coloana! 0
1820ms272kbdisc plasat gresit pe linia 0
190ms260kbnu s-a format coloana! 0
200ms268kbcorect!!! 5
Punctaj total15

Ceva nu functioneaza?