Borderou de evaluare (job #783231)

Utilizator avatar avram.popa Avram-Popa avram.popa IP ascuns
Problemă Magazin (clasele 8-9) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 1 aug. 2024 15:40:40 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:67:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fscanf(fin,"%d%d",&n,&k); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:72:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | fscanf(fin,"%d%d",&tip,&q); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'buildHeap': main.c:51:20: warning: 'sift_down' accessing 1200004 bytes in a region of size 404 [-Wstringop-overflow=] 51 | for (i=n/2; i; sift_down(x,i--,n)); | ^~~~~~~~~~~~~~~~~~ main.c:51:20: note: referencing argument 1 of type 'int[300001]' main.c:15:6: note: in a call to function 'sift_down' 15 | void sift_down(int x[MAXN+1],int i,int n) { | ^~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb OK 10
2 69 ms 221 kb OK 10
3 129 ms 344 kb OK 10
4 229 ms 229 kb OK 10
5 399 ms 327 kb OK 10
6 409 ms 368 kb Time limit exceeded 0
7 409 ms 647 kb Time limit exceeded 0
8 409 ms 724 kb Time limit exceeded 0
9 409 ms 380 kb Time limit exceeded 0
10 407 ms 442 kb Time limit exceeded 0
Punctaj total 50