Borderou de evaluare (job #753480)

Utilizator avatar Paunescu_Stefan_Vlad Paunescu Stefan Vlad Paunescu_Stefan_Vlad IP ascuns
Problemă Unific (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 1 ian. 2024 13:37:02 Scor 64

Raport evaluator

Compilare: main.c: In function 'main': main.c:83:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | fscanf(fin,"%lld",&n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:86:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 86 | fscanf(fin,"%lld",&v[poz]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:124:5: /usr/include/bits/stdio2.h:79:10: warning: 'cmax' 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:80:25: note: 'cmax' was declared here 80 | long long n,i,copie,cmax,cmaxap,ii,poz,r; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 3 ms 245 kb OK 10
2 2 ms 249 kb a) corect b) incorect 1
3 1 ms 249 kb a) corect b) incorect 1
4 19 ms 249 kb OK 10
5 206 ms 245 kb OK 10
6 389 ms 417 kb OK 10
7 298 ms 245 kb OK 10
8 449 ms 249 kb a) corect b) incorect 1
9 449 ms 245 kb a) corect b) incorect 1
10 1 ms 245 kb OK 10
Punctaj total 64