Borderou de evaluare (job #2438255)

Utilizator AlexPop28Pop Alex-Nicolae AlexPop28 Data 11 iulie 2019 21:17:29
Problema Aranjare3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void DBG(std::vector<std::vector<int> >&)': main.cpp:11:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int x : stk[0]) cerr << x << ' '; cerr << endl; ^~~ main.cpp:11:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (int x : stk[0]) cerr << x << ' '; cerr << endl; ^~~~ main.cpp:13:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int x : stk[1]) cerr << x << ' '; cerr << endl; ^~~ main.cpp:13:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (int x : stk[1]) cerr << x << ' '; cerr << endl; ^~~~ main.cpp:15:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int x : stk[2]) cerr << x << ' '; cerr << endl; ^~~ main.cpp:15:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (int x : stk[2]) cerr << x << ' '; cerr << endl; ^~~~ In file included from /usr/include/c++/6/cassert:44:0, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:33, from main.cpp:1: main.cpp: In function 'void Sort(int, int, int, int, int, std::vector<std::vector<int> >&, std::vector<int>&)': main.cpp:45:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] assert(stk[from].size() >= it_from); ~~~~~~~~~~~~~~~~~^~~~ main.cpp:46:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] assert(stk[aux].size() >= it_aux); ~~~~~~~~~~~~~~~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms393kbOkay5
211ms393kbOkay5
311ms393kbOkay5
411ms393kbOkay5
511ms393kbOkay5
6118ms2088kbOkay5
7122ms2088kbOkay5
8105ms2088kbOkay5
9118ms2088kbOkay5
10126ms2088kbOkay5
11111ms2220kbOkay5
1296ms2088kbOkay5
13118ms2088kbOkay5
14120ms2088kbOkay5
15119ms2088kbOkay5
1694ms2088kbOkay5
1795ms2088kbOkay5
18119ms2088kbOkay5
19121ms2088kbOkay5
20103ms2088kbOkay5
Punctaj total100

Ceva nu functioneaza?