Pagini recente » Borderou de evaluare (job #1456403) | Borderou de evaluare (job #129573) | Borderou de evaluare (job #835942) | Borderou de evaluare (job #1367989) | Borderou de evaluare (job #2790307)
Borderou de evaluare (job #2790307)
Raport evaluator
Compilare:
main.cpp: In function 'void gen_tabel()':
main.cpp:47:116: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
47 | if (teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:47:157: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
47 | if (teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:47:261: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
47 | if (teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:47:302: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
47 | if (teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:47:409: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
47 | if (teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:47:429: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
47 | if (teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:47:467: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
47 | if (teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:47:487: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
47 | if (teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:49:64: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
49 | else if (teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:49:105: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
49 | else if (teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:49:212: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
49 | else if (teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:49:253: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
49 | else if (teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:49:300: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
49 | else if (teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:49:341: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
49 | else if (teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:49:394: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
49 | else if (teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:49:435: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
49 | else if (teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i][j].l][tabel[put - 1][i][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j].l][tabel[put - 1][i + (1 << put - 1)][j].c] && teren[tabel[put - 1][i][j + (1 << put - 1)].l][tabel[put - 1][i][j + (1 << put - 1)].c] >= teren[tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].l][tabel[put - 1][i + (1 << put - 1)][j + (1 << put - 1)].c])
| ~~~~^~~
main.cpp:49:482: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 6ms | 4521kb | OK | 10 | 10 |
2 | 17ms | 8826kb | OK | 10 | 10 |
3 | 15ms | 6922kb | OK | 10 | 10 |
4 | 16ms | 13414kb | OK | 10 | 10 |
5 | 19ms | 15605kb | OK | 10 | 10 |
6 | 29ms | 15773kb | OK | 10 | 0 |
7 | 90ms | 18001kb | OK | 10 |
8 | 94ms | 18354kb | OK | 10 |
9 | 133ms | 18788kb | OK | 10 |
10 | 202ms | 18800kb | Time limit exceeded | 0 |
Punctaj total | 50 |