Borderou de evaluare (job #2989988)

Utilizator AndreiTitus10Andrei Titus AndreiTitus10 Data 7 martie 2023 13:05:56
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 15

Raport evaluator

Compilare: main.c: In function 'main': main.c:31:5: warning: 'lmax' may be used uninitialized [-Wmaybe-uninitialized] 31 | fprintf(fo,"%d\n",lmax); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:8:58: note: 'lmax' was declared here 8 | int n , a[1002] , L[1002] , P[1002] , p , l , pmax , lmax; | ^~~~ main.c:34:17: warning: 'pmax' may be used uninitialized [-Wmaybe-uninitialized] 34 | while(p != P[p]) | ~^~~ main.c:8:51: note: 'pmax' was declared here 8 | int n , a[1002] , L[1002] , P[1002] , p , l , pmax , lmax; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
16ms249kbKilled by Signal 1100
26ms249kbKilled by Signal 1100
30ms172kbSubsir incorect!55
41ms172kbSubsir incorect!55
51ms245kbSubsir incorect!55
66ms249kbKilled by Signal 1100
76ms249kbKilled by Signal 1100
86ms249kbKilled by Signal 1100
910ms249kbKilled by Signal 110
106ms249kbKilled by Signal 110
Punctaj total15

Ceva nu functioneaza?