Borderou de evaluare (job #788487)

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

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:50:20: warning: unused variable 'nr' [-Wunused-variable] 50 | int n,x[dim],k,nr=0,i,v[dim],poz=0,p,citatedeja=0,a; | ^~ main.cpp:50:25: warning: unused variable 'i' [-Wunused-variable] 50 | int n,x[dim],k,nr=0,i,v[dim],poz=0,p,citatedeja=0,a; | ^ main.cpp:50:27: warning: unused variable 'v' [-Wunused-variable] 50 | int n,x[dim],k,nr=0,i,v[dim],poz=0,p,citatedeja=0,a; | ^
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 507 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 249 kb OK 10
7 19 ms 245 kb OK 10
8 19 ms 245 kb OK 10
9 109 ms 270 kb Time limit exceeded 0
10 109 ms 249 kb Time limit exceeded 0
Punctaj total 80