Borderou de evaluare (job #3212392)

Utilizator Mihai_AritonMihai Ariton Mihai_Ariton Data 11 martie 2024 18:01:35
Problema Barbar Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:77:20: warning: 'c2' may be used uninitialized [-Wmaybe-uninitialized] 77 | if(f[l2][c2]==1) | ~~~~~~~~^ main.cpp:26:25: note: 'c2' was declared here 26 | int n, m, l, c, l2, c2, lin, col, x, y, st, dr, ans=0, mij; | ^~ main.cpp:77:20: warning: 'l2' may be used uninitialized [-Wmaybe-uninitialized] 77 | if(f[l2][c2]==1) | ~~~~~~~~^ main.cpp:26:21: note: 'l2' was declared here 26 | int n, m, l, c, l2, c2, lin, col, x, y, st, dr, ans=0, mij; | ^~ In function 'void dfs(int, int, int)', inlined from 'int main()' at main.cpp:76:12: main.cpp:16:22: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 16 | x=l+dirl[i];y=c+dirc[i]; | ~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:26:18: note: 'c' was declared here 26 | int n, m, l, c, l2, c2, lin, col, x, y, st, dr, ans=0, mij; | ^ In function 'void dfs(int, int, int)', inlined from 'int main()' at main.cpp:76:12: main.cpp:16:10: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized] 16 | x=l+dirl[i];y=c+dirc[i]; | ~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:26:15: note: 'l' was declared here 26 | int n, m, l, c, l2, c2, lin, col, x, y, st, dr, ans=0, mij; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOk!10
20ms303kbOk!10
30ms303kbOk!10
40ms557kbOk!10
51ms1343kbOk!10
61ms1605kbOk!10
77ms5013kbWrong answer!0
814ms10153kbOk!10
954ms18317kbOk!10
101ms1343kbWrong answer!0
Punctaj total80

Ceva nu functioneaza?