Borderou de evaluare (job #815700)

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:59:45 Scor 76

Raport evaluator

Compilare: main.c: In function 'divm': main.c:16:9: warning: unused variable 'i' [-Wunused-variable] 16 | int i,div=1; | ^ main.c: In function 'main': main.c:31:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 31 | fscanf(fin,"%d",&x); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:29:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin,"%lld",&n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:31:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | fscanf(fin,"%d",&x); | ^~~~~~~~~~~~~~~~~~~ main.c:38:34: warning: 'nrap' may be used uninitialized [-Wmaybe-uninitialized] 38 | else if(ina[i]==maxi)nrap++; | ~~~~^~ main.c:26:29: note: 'nrap' was declared here 26 | 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 245 kb OK 10
3 1 ms 249 kb OK 10
4 1 ms 249 kb OK 10
5 9 ms 245 kb OK 10
6 2 ms 270 kb OK 10
7 2 ms 245 kb OK 10
8 1 ms 270 kb OK 10
9 109 ms 249 kb Time limit exceeded 0
10 109 ms 249 kb Time limit exceeded 0
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 76