Borderou de evaluare (job #2206332)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 22 mai 2018 12:22:20
Problema Zuzu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In member function ‘void str::addCloud()’: user.cpp:36:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (dr == 1) x1 += CNS, x2 += CNS; if (dr == 2) x1 -= CNS, x2 -= CNS; ^~ user.cpp:36:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if (dr == 1) x1 += CNS, x2 += CNS; if (dr == 2) x1 -= CNS, x2 -= CNS; ^~ user.cpp:37:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (dr == 3) y1 += CNS, y2 += CNS; if (dr == 4) y1 -= CNS, y2 -= CNS; ^~ user.cpp:37:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if (dr == 3) y1 += CNS, y2 += CNS; if (dr == 4) y1 -= CNS, y2 -= CNS; ^~ user.cpp:38:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (dr == 5) z1 += CNS, z2 += CNS; if (dr == 6) z1 -= CNS, z2 -= CNS; ^~ user.cpp:38:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if (dr == 5) z1 += CNS, z2 += CNS; if (dr == 6) z1 -= CNS, z2 -= CNS; ^~ user.cpp:31:58: warning: unused variable ‘pz2’ [-Wunused-variable] pz1 = distance(mstZ.begin(), mstZ.find(z1)), pz2 = distance(mstZ.begin(), mstZ.find(z2)); ^~~ user.cpp: In function ‘void dfs(int, int, int, long double&)’: user.cpp:68:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (xx < 0 || xx >= crdX.size() || ~~~^~~~~~~~~~~~~~ user.cpp:69:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] yy < 0 || yy >= crdY.size() || ~~~^~~~~~~~~~~~~~ user.cpp:70:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] zz < 0 || zz >= crdZ.size()) ~~~^~~~~~~~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:121:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < mstX.size(); ++i) ~~^~~~~~~~~~~~~ user.cpp:122:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < mstY.size(); ++j) ~~^~~~~~~~~~~~~ user.cpp:123:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k = 0; k < mstZ.size(); ++k) { ~~^~~~~~~~~~~~~ user.cpp:135:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < mstX.size(); ++i) ~~^~~~~~~~~~~~~ user.cpp:136:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < mstY.size(); ++j) ~~^~~~~~~~~~~~~ user.cpp:137:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k = 0; k < mstZ.size(); ++k)
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms1764kbWrong Answer00
216ms1764kbWrong Answer0
316ms1764kbWrong Answer00
40ms1760kbWrong Answer0
50ms1764kbWrong Answer00
64ms1756kbWrong Answer0
712ms1764kbWrong Answer00
84ms1756kbWrong Answer0
996ms1764kbWrong Answer0
10108ms1764kbWrong Answer0
Punctaj total0

Ceva nu functioneaza?