Borderou de evaluare (job #809173)

Utilizator avatar Sebi_Ionescu Ionescu Sebastian Andrei Sebi_Ionescu IP ascuns
Problemă Carte (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 feb. 2025 12:52:06 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:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d",&a); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:28:5: /usr/include/bits/stdio2.h:111:10: warning: 'g' 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:29: note: 'g' was declared here 8 | int n,i,a,com,max=0,z=0,g; | ^
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 2 ms 245 kb OK 10
6 1 ms 249 kb OK 10
7 1 ms 249 kb OK 10
8 1 ms 249 kb OK 10
9 1 ms 249 kb OK 10
10 2 ms 249 kb OK 10
Punctaj total 100