Borderou de evaluare (job #2729138)

Utilizator arsy19Homentcovschi Andrei arsy19 Data 24 martie 2021 12:12:14
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=1;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
411ms524kbfinal stack is not sorted0
511ms524kbfinal stack is not sorted0
6126ms4640kbfinal stack is not sorted0
7172ms4644kbfinal stack is not sorted0
8173ms4620kbfinal stack is not sorted0
9107ms4640kbfinal stack is not sorted0
10119ms4640kbfinal stack is not sorted0
11116ms4640kbfinal stack is not sorted0
12124ms4558kbfinal stack is not sorted0
13127ms4640kbfinal stack is not sorted0
14126ms4640kbfinal stack is not sorted0
15118ms4640kbfinal stack is not sorted0
16122ms4640kbfinal stack is not sorted0
17128ms4640kbfinal stack is not sorted0
18209ms4599kbfinal stack is not sorted0
19124ms4640kbfinal stack is not sorted0
20173ms4567kbfinal stack is not sorted0
Punctaj total0

Ceva nu functioneaza?