Borderou de evaluare (job #3270495)

Utilizator Maya_PopaPopa Maya Diana Maya_Popa Data 23 ianuarie 2025 16:15:14
Problema Delfin Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 15

Raport evaluator

Compilare: main.c: In function 'teognis': main.c:99:38: warning: comparison between pointer and integer 99 | if (distt[nx][ny]!=-1 && (distt[s][x][y]+1)>=distp[nx][ny]) { | ^~ main.c: In function 'main': main.c:173:9: warning: 'cc' may be used uninitialized [-Wmaybe-uninitialized] 173 | rez=teognis(n, m, lt, ct, lc, cc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:145:36: note: 'cc' was declared here 145 | int n,m,lin,col,lp,cp,lt,ct,lc,cc,rez; | ^~ main.c:173:9: warning: 'lc' may be used uninitialized [-Wmaybe-uninitialized] 173 | rez=teognis(n, m, lt, ct, lc, cc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:145:33: note: 'lc' was declared here 145 | int n,m,lin,col,lp,cp,lt,ct,lc,cc,rez; | ^~ main.c:173:9: warning: 'ct' may be used uninitialized [-Wmaybe-uninitialized] 173 | rez=teognis(n, m, lt, ct, lc, cc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:145:30: note: 'ct' was declared here 145 | int n,m,lin,col,lp,cp,lt,ct,lc,cc,rez; | ^~ main.c:173:9: warning: 'lt' may be used uninitialized [-Wmaybe-uninitialized] 173 | rez=teognis(n, m, lt, ct, lc, cc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:145:27: note: 'lt' was declared here 145 | int n,m,lin,col,lp,cp,lt,ct,lc,cc,rez; | ^~ main.c:172:5: warning: 'cp' may be used uninitialized [-Wmaybe-uninitialized] 172 | percy(n, m, lp, cp); | ^~~~~~~~~~~~~~~~~~~ main.c:145:24: note: 'cp' was declared here 145 | int n,m,lin,col,lp,cp,lt,ct,lc,cc,rez; | ^~ main.c:172:5: warning: 'lp' may be used uninitialized [-Wmaybe-uninitialized] 172 | percy(n, m, lp, cp); | ^~~~~~~~~~~~~~~~~~~ main.c:145:21: note: 'lp' was declared here 145 | int n,m,lin,col,lp,cp,lt,ct,lc,cc,rez; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
210ms303kbOK!00
220ms303kbOK!00
230ms557kbRaspuns gresit!00
10ms303kbOK!55
20ms303kbRaspuns gresit!00
30ms303kbRaspuns gresit!00
40ms303kbRaspuns gresit!00
50ms557kbRaspuns gresit!00
60ms819kbRaspuns gresit!00
70ms823kbOK!55
80ms819kbRaspuns gresit!00
90ms1081kbRaspuns gresit!00
100ms1081kbRaspuns gresit!00
113ms5013kbOK!55
124ms5275kbRaspuns gresit!00
1314ms10022kbRaspuns gresit!00
1419ms16850kbRaspuns gresit!00
159ms9732kbRaspuns gresit!00
1648ms28467kbOK!50
1728ms23564kbRaspuns gresit!0
1819ms15814kbRaspuns gresit!0
1929ms22990kbRaspuns gresit!0
200ms819kbRaspuns gresit!0
Punctaj total15

Ceva nu functioneaza?