Borderou de evaluare (job #810398)

Utilizator avatar MihaiDraghici MIHAI DRAGHICI MihaiDraghici IP ascuns
Problemă Grad1 (clasa a 6-a) Compilator c-32
Rundă Tema 30 Clasa a 6-a Status evaluat
Dată 21 feb. 2025 11:09:05 Scor 81

Raport evaluator

Compilare: main.c: In function 'main': main.c:24:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fscanf(fin, "%d%d", &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:27:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:71:5: /usr/include/bits/stdio2.h:111:10: warning: 'nr' may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:49:19: note: 'nr' was declared here 49 | int max = -1, nr; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 245 kb OK 10
2 1 ms 249 kb OK 10
3 9 ms 249 kb OK 10
4 69 ms 249 kb OK 10
5 479 ms 503 kb OK 10
6 809 ms 507 kb OK 10
7 949 ms 507 kb OK 10
8 899 ms 507 kb OK 10
9 1009 ms 507 kb Time limit exceeded 0
10 659 ms 528 kb OK 10
Penalizare: 10% (pentru 2 submisie/ii) 10%
Punctaj total 81