trenbus.cpp: In member function 'void Tree::dfs_cb(int, CB) [with CB = Tree::split(int, CB) [with CB = main()::__lambda4]::__lambda2]': trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp: In member function 'void Tree::dfs_cb(int, CB) [with CB = Tree::join(int, int, int, CB) [with CB = main()::__lambda3]::__lambda1]': trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^ trenbus.cpp: In function 'int main()': trenbus.cpp:32:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (new_value < old_value) { // lost some stuff ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.116 secunde | OK. | 4 | 4 | ||
| 2 | 0.052 secunde | OK. | 4 | 4 | ||
| 3 | 0.312 secunde | OK. | 4 | 4 | ||
| 4 | 0.156 secunde | OK. | 4 | 4 | ||
| 5 | 0.192 secunde | OK. | 4 | 4 | ||
| 6 | 0.168 secunde | OK. | 4 | 4 | ||
| 7 | 0.16 secunde | OK. | 4 | 4 | ||
| 8 | 0.656 secunde | OK. | 4 | 4 | ||
| 9 | 0.28 secunde | OK. | 4 | 4 | ||
| 10 | 0.34 secunde | OK. | 4 | 4 | ||
| 11 | 0.272 secunde | OK. | 4 | 4 | ||
| 12 | 0.28 secunde | OK. | 4 | 4 | ||
| 13 | 0.248 secunde | OK. | 4 | 4 | ||
| 14 | 0.304 secunde | OK. | 4 | 4 | ||
| 15 | 0.128 secunde | OK. | 4 | 4 | ||
| 16 | 0.116 secunde | OK. | 5 | 5 | ||
| 17 | 0.12 secunde | OK. | 5 | 5 | ||
| 18 | 0.552 secunde | OK. | 5 | 5 | ||
| 19 | 0.3 secunde | OK. | 5 | 5 | ||
| 20 | 0.276 secunde | OK. | 5 | 5 | ||
| 21 | 0.216 secunde | OK. | 5 | 5 | ||
| 22 | 0.236 secunde | OK. | 10 | 10 | ||
| Punctaj total | 100 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.