Borderou de evaluare (job #2790307)

Utilizator LukyenDracea Lucian Lukyen Data 28 octombrie 2021 19:26:41
Problema Plantatie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

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
16ms4521kbOK1010
217ms8826kbOK1010
315ms6922kbOK1010
416ms13414kbOK1010
519ms15605kbOK1010
629ms15773kbOK100
790ms18001kbOK10
894ms18354kbOK10
9133ms18788kbOK10
10202ms18800kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?