Borderou de evaluare (job #2312143)

Utilizator GiihuoTihufiNeacsu Stefan GiihuoTihufi Data 4 ianuarie 2019 12:47:28
Problema Vila 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp:8:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] main() ^ main.cpp: In function 'int main()': main.cpp:23:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(!Dmx.empty() && V[i]>V[Dmx.back()]) Dmx.pop_back(); Dmx.push_back(i); ^~~~~ main.cpp:23:68: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' while(!Dmx.empty() && V[i]>V[Dmx.back()]) Dmx.pop_back(); Dmx.push_back(i); ^~~ main.cpp:24:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(!Dmn.empty() && V[i]<V[Dmn.back()]) Dmn.pop_back(); Dmn.push_back(i); ^~~~~ main.cpp:24:68: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' while(!Dmn.empty() && V[i]<V[Dmn.back()]) Dmn.pop_back(); Dmn.push_back(i); ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
23ms131kbOK10
35ms131kbOK10
49ms262kbOK10
510ms262kbOK10
616ms393kbOK10
721ms393kbOK10
818ms393kbOK10
930ms524kbOK10
1030ms524kbOK10
Punctaj total100

Ceva nu functioneaza?