Borderou de evaluare (job #787688)

Utilizator avatar andrei-raileanu-szeles Andrei Raileanu Szeles andrei-raileanu-szeles IP ascuns
Problemă Lego (clasa a 6-a) Compilator c-32
Rundă Tema 9 Clasa a 6-a Status evaluat
Dată 24 sept. 2024 16:16:22 Scor 90

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:11: warning: unused variable 'd' [-Wunused-variable] 12 | int l,d,i,j,max,maxdiv=0; | ^ main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(in,"%d",&l); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:23:5: /usr/include/bits/stdio2.h:79:10: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:12:17: note: 'max' was declared here 12 | int l,d,i,j,max,maxdiv=0; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 179 ms 1298 kb OK 10
2 179 ms 1318 kb OK 10
3 179 ms 1294 kb OK 10
4 179 ms 1314 kb OK 10
5 179 ms 1318 kb OK 10
6 179 ms 1294 kb OK 10
7 176 ms 1196 kb Incorect 0
8 179 ms 1318 kb OK 10
9 179 ms 1314 kb OK 10
10 189 ms 1290 kb OK 10
Punctaj total 90