Borderou de evaluare (job #3268450)

Utilizator alexkAlexandru Kelemen alexk Data 15 ianuarie 2025 11:58:07
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
36ms425kbKilled by Signal 110
44ms819kbOK4
58ms430kbKilled by Signal 110
66ms1081kbIncorect0
78ms1343kbOK4
815ms1421kbKilled by Signal 110
912ms1323kbKilled by Signal 110
1012ms1019kbKilled by Signal 110
118ms421kbKilled by Signal 110
1211ms1323kbKilled by Signal 110
1315ms1327kbKilled by Signal 110
149ms1343kbIncorect0
158ms462kbKilled by Signal 110
1614ms1421kbKilled by Signal 110
178ms1417kbKilled by Signal 110
181ms610kbKilled by Signal 110
192ms557kbIncorect0
202ms557kbIncorect0
2110ms1421kbKilled by Signal 110
2210ms1421kbKilled by Signal 110
237ms1380kbKilled by Signal 110
2410ms1421kbKilled by Signal 110
258ms1400kbKilled by Signal 110
Punctaj total12

Ceva nu functioneaza?