Borderou de evaluare (job #3219965)

Utilizator Cazacu2006RazvanRazvan Cazacu Cazacu2006Razvan Data 1 aprilie 2024 20:54:08
Problema CT Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void update(int, int)': main.cpp:67:9: warning: statement has no effect [-Wunused-value] 67 | for(x;x<=nrp;x+=(x&(-x))) | ^ main.cpp: In function 'int query(int)': main.cpp:77:9: warning: statement has no effect [-Wunused-value] 77 | for(x;x!=0;x-=(x&(-x))) | ^ main.cpp: In function 'int main()': main.cpp:109:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 109 | if(query(st[v[i].x])==0 && query(st[v[i].y])==0) | ^~ main.cpp:111:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 111 | int z=v[i].l2; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms557kbIncorect0
214ms2969kbIncorect0
334ms5689kbIncorect0
469ms12378kbIncorect0
5113ms18698kbIncorect0
683ms18489kbIncorect0
71ms557kbIncorect0
844ms7745kbIncorect0
9114ms18083kbIncorect0
101ms557kbIncorect0
Punctaj total0

Ceva nu functioneaza?