Borderou de evaluare (job #787410)

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ă 22 sept. 2024 12:00:49 Scor 80

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:30: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 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 770 kb OK 10
4 1 ms 528 kb OK 10
5 49 ms 1310 kb OK 10
6 79 ms 1814 kb OK 10
7 109 ms 2084 kb OK 10
8 159 ms 2600 kb OK 10
9 159 ms 2867 kb OK 10
10 279 ms 4177 kb OK 10
Penalizare: 20% (pentru 4 submisie/ii) 20%
Punctaj total 80