Borderou de evaluare (job #598958)

Utilizator avatar CosminTeodoresscu Nerdvana 7 Teodorescu Cosmin Andrei CosminTeodoresscu IP ascuns
Problemă Compus (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 21 mai 2021 13:13:55 Scor 10

Raport evaluator

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