Borderou de evaluare (job #649958)

Utilizator avatar Stefania12345 Mihailescu Stefania Stefania12345 IP ascuns
Problemă Control (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 12 mai 2022 17:09:08 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:27:18: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 27 | if(v[3*j]%2==v[3*j-1]%2==v[3*j-2]%2) | ~~~~~~~~^~~~~~~~~~~~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:13:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~ main.c:19:15: warning: iteration 200 invokes undefined behavior [-Waggressive-loop-optimizations] 19 | if(frecv[i]>0) | ~~~~~^~~ main.c:17:14: note: within this loop 17 | for(i=1;i<=201;i++) | ~^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 114 kb OK 10
3 1 ms 114 kb Incorect 0
4 1 ms 114 kb Incorect 0
5 1 ms 114 kb Incorect 0
6 1 ms 114 kb Incorect 0
7 1 ms 114 kb Incorect 0
8 1 ms 114 kb Incorect 0
9 1 ms 114 kb Incorect 0
10 1 ms 114 kb Incorect 0
Punctaj total 10