Borderou de evaluare (job #764480)

Utilizator avatar ana_p Ana Petrescu ana_p IP ascuns
Problemă Portofel (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 23 feb. 2024 15:25:20 Scor 37

Raport evaluator

Compilare: main.c: In function 'main': main.c:6:24: warning: unused variable 'u' [-Wunused-variable] 6 | int i,n,m,j,ok=1,f,u,k=1,mx=0; | ^ main.c:6:22: warning: variable 'f' set but not used [-Wunused-but-set-variable] 6 | int i,n,m,j,ok=1,f,u,k=1,mx=0; | ^ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(in,"%d",&n); | ^~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(in,"%d",&A[i]); | ^~~~~~~~~~~~~~~~~~~~~ main.c:18:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(in,"%d",&m); | ^~~~~~~~~~~~~~~~~~ main.c:21:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(in,"%d",&B[i]); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 3 ms 245 kb a) OK; b) rezultat incorect 1
2 2 ms 245 kb a) OK; b) rezultat incorect 1
3 2 ms 245 kb OK 5
4 3 ms 245 kb a) OK; b) rezultat incorect 1
5 2 ms 245 kb OK 5
6 3 ms 245 kb OK 5
7 510 ms 512 kb Time limit exceeded 0
8 3 ms 507 kb OK 5
9 147 ms 1028 kb a) rezultat incorect; b) OK 4
10 511 ms 1036 kb Time limit exceeded 0
11 3 ms 245 kb a) OK; b) rezultat incorect 1
12 511 ms 245 kb Time limit exceeded 0
13 511 ms 249 kb Time limit exceeded 0
14 3 ms 245 kb OK 5
15 504 ms 249 kb Time limit exceeded 0
16 2 ms 245 kb a) OK; b) rezultat incorect 1
17 3 ms 245 kb a) OK; b) rezultat incorect 1
18 3 ms 241 kb a) OK; b) rezultat incorect 1
19 3 ms 245 kb a) OK; b) rezultat incorect 1
20 500 ms 1294 kb Time limit exceeded 0
Punctaj total 37