Borderou de evaluare (job #653354)

Utilizator avatar mety450 Alecu MAtei mety450 IP ascuns
Problemă Compus (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 iun. 2022 20:37:29 Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 16 | for(i=p1+1;i<n;i++) | ^~~ main.cpp:18:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 18 | n--; | ^ main.cpp:19:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 19 | for(i=n-1;i>=p;i--) | ^~~ main.cpp:21:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 21 | v[p]=e; | ^ main.cpp:9:26: warning: unused variable 'nr' [-Wunused-variable] 9 | int n,e,p,i,p1,j,aux,nr; | ^~ main.cpp:17:15: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized] 17 | v[i-1]=v[i]; | ~~~~~~^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 110 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 114 kb Incorect 0
5 1 ms 114 kb OK 10
6 1 ms 114 kb OK 10
7 1 ms 118 kb Killed by Signal 11 0
8 1 ms 118 kb Killed by Signal 11 0
9 1 ms 118 kb Killed by Signal 11 0
10 1 ms 118 kb Killed by Signal 11 0
Punctaj total 50