Borderou de evaluare (job #815696)

Utilizator avatar SabinDont Dontete Alexandru Sabin SabinDont IP ascuns
Problemă Cartier (clasa a 6-a) Compilator c-32
Rundă Tema 35 Clasa a 6-a Status evaluat
Dată 22 mar. 2025 19:55:32 Scor 80

Raport evaluator

Compilare: main.c: In function 'main': main.c:29:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 29 | fscanf(fin,"%d",&x); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:27:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin,"%lld",&n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:29:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin,"%d",&x); | ^~~~~~~~~~~~~~~~~~~ main.c:36:34: warning: 'nrap' may be used uninitialized [-Wmaybe-uninitialized] 36 | else if(ina[i]==maxi)nrap++; | ~~~~^~ main.c:24:29: note: 'nrap' was declared here 24 | long long ina[5001],lat,nrap,s=0,i,x,n,maxi=-1,lmax=0,j; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 9 ms 249 kb OK 10
3 9 ms 245 kb OK 10
4 9 ms 507 kb OK 10
5 9 ms 245 kb OK 10
6 1 ms 249 kb OK 10
7 2 ms 249 kb OK 10
8 1 ms 249 kb OK 10
9 109 ms 249 kb Time limit exceeded 0
10 109 ms 249 kb Time limit exceeded 0
Punctaj total 80