Borderou de evaluare (job #2729141)

Utilizator arsy19Homentcovschi Andrei arsy19 Data 24 martie 2021 12:19:02
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
115ms524kbfinal stack is not sorted0
29ms524kbfinal stack is not sorted0
315ms524kbfinal stack is not sorted0
415ms524kbfinal stack is not sorted0
511ms524kbfinal stack is not sorted0
6173ms4546kbfinal stack is not sorted0
7172ms4608kbfinal stack is not sorted0
8208ms4624kbfinal stack is not sorted0
9174ms4608kbfinal stack is not sorted0
10173ms4550kbfinal stack is not sorted0
11173ms4550kbfinal stack is not sorted0
12201ms4562kbfinal stack is not sorted0
13171ms4550kbfinal stack is not sorted0
14172ms4661kbfinal stack is not sorted0
15172ms4608kbfinal stack is not sorted0
16181ms4661kbfinal stack is not sorted0
17209ms4657kbfinal stack is not sorted0
18175ms4587kbfinal stack is not sorted0
19210ms4640kbfinal stack is not sorted0
20172ms4554kbfinal stack is not sorted0
Punctaj total0

Ceva nu functioneaza?