Borderou de evaluare (job #2381567)

Utilizator dan.ghitaDan Ghita dan.ghita Data 17 martie 2019 00:45:27
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int choosePiv(std::vector<int>&, int, int)': main.cpp:12:18: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ((v[left] <= v[mid] <= v[right]) || (v[left] >= v[mid] >= v[right])) main.cpp:12:53: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ((v[left] <= v[mid] <= v[right]) || (v[left] >= v[mid] >= v[right])) main.cpp:14:18: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ((v[left] <= v[right] <= v[mid]) || (v[left] >= v[right] >= v[mid])) main.cpp:14:53: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ((v[left] <= v[right] <= v[mid]) || (v[left] >= v[right] >= v[mid])) main.cpp:16:17: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ((v[mid] <= v[left] <= v[right]) || (v[mid] >= v[left] >= v[right])) main.cpp:16:52: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if ((v[mid] <= v[left] <= v[right]) || (v[mid] >= v[left] >= v[right])) main.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK520
22ms131kbOK5
32ms131kbOK5
42ms131kbOK5
53ms131kbOK520
63ms131kbOK5
73ms131kbOK5
83ms131kbOK5
986ms1564kbOK520
1070ms1564kbOK5
1167ms1564kbOK5
12121ms1564kbOK5
13255ms4833kbOK520
14227ms4833kbOK5
15208ms4833kbOK5
16852ms4833kbOK5
17381ms7192kbOK50
18275ms7061kbOK5
19271ms7061kbOK5
20903ms2473kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?