Borderou de evaluare (job #681410)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Compus (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 11 dec. 2022 22:15:29 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:21:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 21 | for(i = p+1;i < n;i++) | ^~~ main.c:23:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 23 | p = p2; | ^ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d%d%d",&n,&e,&p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | 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 2 ms 114 kb OK 10
5 1 ms 114 kb OK 10
6 1 ms 114 kb OK 10
7 1 ms 118 kb OK 10
8 8 ms 245 kb OK 10
9 12 ms 225 kb OK 10
10 1 ms 118 kb OK 10
Punctaj total 100