Borderou de evaluare (job #787296)

Utilizator avatar andrei_sevescu sevescu andrei andrei_sevescu IP ascuns
Problemă Lego (clasa a 6-a) Compilator c-32
Rundă Tema 9 Clasa a 6-a Status evaluat
Dată 21 sept. 2024 18:07:00 Scor 81

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d" ,&n); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:29:5: /usr/include/bits/stdio2.h:79:10: warning: 'r' 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:9:22: note: 'r' was declared here 9 | int q,i,n,max=-1,r; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 10
2 1 ms 266 kb OK 10
3 9 ms 507 kb OK 10
4 9 ms 524 kb OK 10
5 109 ms 1294 kb OK 10
6 219 ms 1835 kb OK 10
7 299 ms 2342 kb OK 10
8 389 ms 2609 kb OK 10
9 429 ms 2887 kb OK 10
10 459 ms 4182 kb Time limit exceeded 0
Penalizare: 10% (pentru 2 submisie/ii) 10%
Punctaj total 81