Borderou de evaluare (job #3268449)

Utilizator alexkAlexandru Kelemen alexk Data 15 ianuarie 2025 11:56:41
Problema Panda Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 12

Raport evaluator

Compilare: main.cpp: In function 'bool verif(int, int, int)': main.cpp:10:21: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 10 | int masca= 1<<u -1; | ~~^~ main.cpp:11:27: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses] 11 | if((T&masca)^(P&masca)==masca)return true; | ~~~~~~~~~^~~~~~~ main.cpp: In function 'void lee(int, int, int)': main.cpp:27:33: warning: array subscript -1 is below array bounds of 'int [4]' [-Warray-bounds] 27 | lee(i + di[p] , j + dj[p] , lg + 1); | ~~~~^ main.cpp:7:26: note: while referencing 'dj' 7 | int di[4]={-1, 0, 1, 0}, dj[4]={0, 1, 0, -1}; | ^~ main.cpp:27:21: warning: array subscript -1 is below array bounds of 'int [4]' [-Warray-bounds] 27 | lee(i + di[p] , j + dj[p] , lg + 1); | ~~~~^ main.cpp:7:5: note: while referencing 'di' 7 | int di[4]={-1, 0, 1, 0}, dj[4]={0, 1, 0, -1}; | ^~ main.cpp: In function 'int main()': main.cpp:81:8: warning: 'L' may be used uninitialized [-Wmaybe-uninitialized] 81 | lee(l, c, L); | ~~~^~~~~~~~~ main.cpp:80:20: note: 'L' was declared here 80 | if(cer==2){int L; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK4
20ms303kbIncorect0
38ms421kbKilled by Signal 110
44ms819kbOK4
55ms430kbKilled by Signal 110
64ms1081kbIncorect0
74ms1343kbOK4
815ms1421kbKilled by Signal 110
911ms1323kbKilled by Signal 110
1012ms1015kbKilled by Signal 110
118ms417kbKilled by Signal 110
1211ms1351kbKilled by Signal 110
1315ms1318kbKilled by Signal 110
149ms1343kbIncorect0
158ms466kbKilled by Signal 110
1615ms1441kbKilled by Signal 110
178ms1421kbKilled by Signal 110
181ms606kbKilled by Signal 110
192ms557kbIncorect0
202ms557kbIncorect0
2110ms1425kbKilled by Signal 110
2210ms1417kbKilled by Signal 110
237ms1380kbKilled by Signal 110
2410ms1417kbKilled by Signal 110
258ms1400kbKilled by Signal 110
Punctaj total12

Ceva nu functioneaza?