Borderou de evaluare (job #2729467)

Utilizator arsy19Homentcovschi Andrei arsy19 Data 24 martie 2021 19:23:12
Problema Aranjare3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void Sort(int, int, int, int, int)': main.cpp:28:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int el=0;el<dim;++el) ^~~ main.cpp:33:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' Sort(first,dim/2,source,second,-rev);//sortez elementele din stiva ''first'' in ordine inversa fata de cum trebuia sa sortez aici (pentru ca atunci cand le pun inapoi la interclasare sa fie sortate cum trebuie aici) ^~~~ main.cpp:42:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(l1&&l2&&v[first].back()*rev<v[second].back()*rev || !l2) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:64:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(unsigned int i=0;i<sol.size();++i) ^~~ main.cpp:67:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return 0; ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
111ms524kbfinal stack is not sorted0
211ms524kbfinal stack is not sorted0
311ms524kbfinal stack is not sorted0
415ms524kbfinal stack is not sorted0
511ms524kbfinal stack is not sorted0
6124ms4640kbfinal stack is not sorted0
7113ms4640kbfinal stack is not sorted0
8122ms4640kbfinal stack is not sorted0
9117ms4640kbfinal stack is not sorted0
10117ms4640kbfinal stack is not sorted0
11117ms4640kbfinal stack is not sorted0
12120ms4640kbfinal stack is not sorted0
13118ms4640kbfinal stack is not sorted0
14118ms4640kbfinal stack is not sorted0
15124ms4640kbfinal stack is not sorted0
16117ms4640kbfinal stack is not sorted0
17119ms4640kbfinal stack is not sorted0
18115ms4640kbfinal stack is not sorted0
19120ms4640kbfinal stack is not sorted0
20116ms4640kbfinal stack is not sorted0
Punctaj total0

Ceva nu functioneaza?