Borderou de evaluare (job #3212403)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:80:20: warning: 'c2' may be used uninitialized [-Wmaybe-uninitialized] 80 | 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=-1, mij; | ^~ main.cpp:80:20: warning: 'l2' may be used uninitialized [-Wmaybe-uninitialized] 80 | 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=-1, mij; | ^~ main.cpp:78:18: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 78 | if(d[l][c]>=mij) | ~~~~~~^ main.cpp:26:18: note: 'c' was declared here 26 | int n, m, l, c, l2, c2, lin, col, x, y, st, dr, ans=-1, mij; | ^ main.cpp:78:18: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized] 78 | if(d[l][c]>=mij) | ~~~~~~^ main.cpp:26:15: note: 'l' was declared here 26 | int n, m, l, c, l2, c2, lin, col, x, y, st, dr, ans=-1, mij; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOk!10
20ms303kbOk!10
30ms303kbOk!10
40ms557kbOk!10
51ms1343kbOk!10
61ms1605kbOk!10
74ms4489kbOk!10
814ms10346kbOk!10
947ms18083kbOk!10
101ms1343kbOk!10
Punctaj total100

Ceva nu functioneaza?