Borderou de evaluare (job #787293)

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 17:55:40 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:26: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 9 ms 512 kb OK 10
4 9 ms 507 kb OK 10
5 129 ms 1290 kb OK 10
6 229 ms 2084 kb OK 10
7 319 ms 2342 kb OK 10
8 419 ms 2629 kb OK 10
9 459 ms 2863 kb Time limit exceeded 0
10 458 ms 4198 kb Time limit exceeded 0
Punctaj total 80