Borderou de evaluare (job #766975)

Utilizator avatar andrei_sevescu sevescu andrei andrei_sevescu IP ascuns
Problemă Case1 (clasa a 5-a) Compilator c-32
Rundă Tema 30 Clasa a 5-a Status evaluat
Dată 9 mar. 2024 15:00:42 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); | ^~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d" ,&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:52:5: /usr/include/bits/stdio2.h:79:10: warning: 'p' 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:42: note: 'p' was declared here 9 | int n,i,c,u=0,max=0,q,min=69696969,z,p; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 241 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 266 kb OK 10
6 9 ms 245 kb OK 10
7 1 ms 266 kb OK 10
8 1 ms 270 kb OK 10
9 1 ms 258 kb OK 10
10 199 ms 249 kb OK 10
Penalizare: 20% (pentru 4 submisie/ii) 20%
Punctaj total 80