Borderou de evaluare (job #787404)

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 11:31:27 Scor 76

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 2 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 9 ms 512 kb OK 10
4 9 ms 512 kb OK 10
5 109 ms 1294 kb OK 10
6 199 ms 1843 kb OK 10
7 299 ms 2342 kb OK 10
8 379 ms 2609 kb OK 10
9 409 ms 2871 kb OK 10
10 459 ms 4202 kb Time limit exceeded 0
Penalizare: 15% (pentru 3 submisie/ii) 15%
Punctaj total 76