Borderou de evaluare (job #605256)

Utilizator avatar Rradu Radu Catana Rradu IP ascuns
Problemă Culori1 (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 2 sept. 2021 18:04:22 Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:20:19: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 20 | if(nr[n-1]==nr[i]==nr[i+1]) | ~~~~~~~^~~~~~~ main.c:25:19: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 25 | if(nr[i-1]==nr[i]==nr[0]) | ~~~~~~~^~~~~~~ main.c:30:19: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 30 | if(nr[i-1]==nr[i]==nr[i+1]) | ~~~~~~~^~~~~~~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d %d", &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb OK 10
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb OK 10
6 1 ms 131 kb Incorect 0
7 1 ms 131 kb Incorect 0
8 1 ms 131 kb Incorect 0
9 1 ms 131 kb Incorect 0
10 1 ms 131 kb Incorect 0
Punctaj total 30