Borderou de evaluare (job #3252526)

Utilizator Isleam_EmreIsleam Emre Isleam_Emre Data 29 octombrie 2024 20:09:07
Problema Difprim Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 20

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
20ms303kbOK10
30ms303kbIncorect0
40ms557kbOK10
59ms8159kbIncorect0
67ms20742kbMemory limit exceeded0
77ms21057kbMemory limit exceeded0
824ms16072kbIncorect0
97ms20742kbMemory limit exceeded0
107ms20742kbMemory limit exceeded0
Punctaj total20

Ceva nu functioneaza?