Borderou de evaluare (job #764457)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Maxim (clasa 7-8) Compilator c-32
Rundă Tema 21 clasa a 7-a Status evaluat
Dată 23 feb. 2024 12:52:31 Scor 60

Raport evaluator

Compilare: main.c: In function 'main': main.c:29:18: warning: unused variable 'j' [-Wunused-variable] 29 | int a,b,c,i,i2,j,n = 0; | ^ main.c:30:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | fscanf(fin,"%d%d%d",&a,&b,&c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'maxim': main.c:19:5: warning: 'maxpoz' may be used uninitialized [-Wmaybe-uninitialized] 19 | maxim(maxpoz-1, k-(n - maxpoz)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:8:17: note: 'maxpoz' was declared here 8 | int i,max = 0,maxpoz; | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 3 ms 245 kb OK 10
2 3 ms 245 kb Incorect 0
3 3 ms 245 kb OK 10
4 3 ms 245 kb OK 10
5 36 ms 229 kb OK 10
6 23 ms 208 kb OK 10
7 62 ms 249 kb Time limit exceeded 0
8 47 ms 233 kb OK 10
9 2 ms 245 kb Incorect 0
10 51 ms 229 kb Time limit exceeded 0
Punctaj total 60