Borderou de evaluare (job #806354)

Utilizator avatar cosmin04 Cosmin Opincaru cosmin04 IP ascuns
Problemă Ruleta (clasa a 5-a) Compilator c-32
Rundă Tema 21 Clasa a 5-a Status evaluat
Dată 25 ian. 2025 13:17:23 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | 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:45:5: /usr/include/bits/stdio2.h:111:10: warning: 'lungime' 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:8:30: note: 'lungime' was declared here 8 | int n,i,v[32000],max=0,a,lungime,j,corect=0; | ^~~~~~~
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 245 kb OK 10
4 1 ms 245 kb OK 10
5 9 ms 249 kb OK 10
6 29 ms 249 kb OK 10
7 39 ms 249 kb OK 10
8 39 ms 270 kb OK 10
9 9 ms 249 kb OK 10
10 19 ms 512 kb OK 10
Punctaj total 100