Borderou de evaluare (job #2206377)

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

Raport evaluator

Compilare: user.cpp: In member function ‘void str::addCloud()’: user.cpp:38: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:38: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:39: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:39: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:40: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:40: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: In function ‘int main()’: user.cpp:116:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i <= mstX.size(); ++i) ~~^~~~~~~~~~~~~~ user.cpp:117:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 1; j <= mstY.size(); ++j) ~~^~~~~~~~~~~~~~ user.cpp:118:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k = 1; k <= mstZ.size(); ++k) { ~~^~~~~~~~~~~~~~ user.cpp:124:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i <= mstX.size(); ++i) ~~^~~~~~~~~~~~~~ user.cpp:125:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 1; j <= mstY.size(); ++j) ~~^~~~~~~~~~~~~~ user.cpp:126:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k = 1; k <= mstZ.size(); ++k) ~~^~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms1400kbAccepted1015
220ms1724kbAccepted5
332ms2880kbAccepted1015
40ms1288kbAccepted5
50ms1340kbAccepted1015
64ms1400kbAccepted5
724ms3344kbAccepted1055
80ms1348kbAccepted10
9200ms6152kbAccepted15
10240ms6420kbAccepted20
Punctaj total100

Ceva nu functioneaza?