Borderou de evaluare (job #3252446)

Utilizator Isleam_EmreIsleam Emre Isleam_Emre Data 29 octombrie 2024 17:23:26
Problema Difprim Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:30:3: warning: 'cup' may be used uninitialized [-Wmaybe-uninitialized] 30 | fprintf(fout,"%d %d",ccp,cup); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:11:33: note: 'cup' was declared here 11 | int a,b,i,j,cp,up,max = 0,ccp,cup; | ^~~ main.c:30:3: warning: 'ccp' may be used uninitialized [-Wmaybe-uninitialized] 30 | fprintf(fout,"%d %d",ccp,cup); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:11:29: note: 'ccp' was declared here 11 | int a,b,i,j,cp,up,max = 0,ccp,cup; | ^~~ main.c:23:23: warning: 'cp' may be used uninitialized [-Wmaybe-uninitialized] 23 | if(cp != 0 && up-cp > max ){ | ~~^~~ main.c:11:15: note: 'cp' was declared here 11 | int a,b,i,j,cp,up,max = 0,ccp,cup; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbOK10
40ms557kbOK10
59ms8159kbIncorect0
67ms20742kbMemory limit exceeded0
77ms20955kbMemory limit exceeded0
819ms16023kbOK10
97ms20996kbMemory limit exceeded0
107ms20742kbMemory limit exceeded0
Punctaj total30

Ceva nu functioneaza?