Borderou de evaluare (job #681599)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Culori1 (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 13 dec. 2022 10:34:55 Scor 60

Raport evaluator

Compilare: main.c: In function 'main': main.c:28:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 28 | if(v[0] == v[n-1] && v[n-1] == v[n-2]) | ^~ main.c:30:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 30 | if(v[1] == v[0] && v[0] == v[n-1] ) | ^~ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%d%d",&n,&k); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:19:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 114 kb Incorect 0
5 1 ms 118 kb Killed by Signal 11 0
6 1 ms 114 kb OK 10
7 1 ms 114 kb Incorect 0
8 1 ms 114 kb Incorect 0
9 1 ms 114 kb OK 10
10 1 ms 114 kb OK 10
Punctaj total 60