Borderou de evaluare (job #2649742)

Utilizator IRadu1529Radu Ionescu IRadu1529 Data 16 septembrie 2020 09:44:49
Problema Vila 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:24:20: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] while (!d.size() > 2 && v[d.back()] < v[i] && v[d.front()] < v[i]) ^ main.cpp:24:20: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] while (!d.size() > 2 && v[d.back()] < v[i] && v[d.front()] < v[i]) ~~~~~~~~~~^~~ main.cpp:34:20: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] while (!d.size() > 2 && v[d.back()] < v[i] && v[d.front()] < v[i]) ^ main.cpp:34:20: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] while (!d.size() > 2 && v[d.back()] < v[i] && v[d.front()] < v[i]) ~~~~~~~~~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
23ms131kbIncorect0
35ms262kbIncorect0
48ms262kbIncorect0
510ms262kbOK10
614ms393kbIncorect0
719ms393kbIncorect0
817ms393kbOK10
927ms524kbIncorect0
1027ms655kbIncorect0
Punctaj total20

Ceva nu functioneaza?