Borderou de evaluare (job #788481)

Utilizator avatar Dunare Luca Tanasescu Dunare IP ascuns
Problemă Permfix Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 28 sept. 2024 16:12:02 Scor 50

Raport evaluator

Compilare: main.cpp: In function 'bool farafixe(int, int*, int)': main.cpp:19:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 19 | for(int i=1;i<=k;i++) | ^~~ main.cpp:21:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 21 | return true; | ^~~~~~ main.cpp: In function 'bool sol(int, int*, int)': main.cpp:27:10: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 27 | for(int i=1;i<=k;i++) | ^~~ main.cpp:30:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 30 | return true; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:52:20: warning: unused variable 'nr' [-Wunused-variable] 52 | int n,x[dim],k,nr=0,i,v[dim],perm[1600][dim],poz=0,p; | ^~ main.cpp:52:25: warning: unused variable 'i' [-Wunused-variable] 52 | int n,x[dim],k,nr=0,i,v[dim],perm[1600][dim],poz=0,p; | ^ main.cpp:52:27: warning: unused variable 'v' [-Wunused-variable] 52 | int n,x[dim],k,nr=0,i,v[dim],perm[1600][dim],poz=0,p; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 507 kb Killed by Signal 11 0
7 1 ms 270 kb Killed by Signal 11 0
8 1 ms 270 kb Killed by Signal 11 0
9 19 ms 270 kb Killed by Signal 11 0
10 19 ms 249 kb Killed by Signal 11 0
Punctaj total 50