Borderou de evaluare (job #3252524)

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

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
40ms557kbIncorect0
59ms8159kbIncorect0
67ms20865kbMemory limit exceeded0
77ms20992kbMemory limit exceeded0
824ms16072kbIncorect0
96ms20848kbMemory limit exceeded0
107ms20742kbMemory limit exceeded0
Punctaj total10

Ceva nu functioneaza?