Borderou de evaluare (job #781693)

Utilizator avatar Vicentiu Savu Vicentiu Dorian Vicentiu IP ascuns
Problemă Divizori (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 9 iul. 2024 11:36:20 Scor 61

Raport evaluator

Compilare: main.c: In function 'main': main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%d%d",&n,&nrc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin,"%c",&c); | ^~~~~~~~~~~~~~~~~~~ main.c:19:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin,"%c",&c); | ^~~~~~~~~~~~~~~~~~~ main.c:24:16: warning: 'nr' is used uninitialized [-Wuninitialized] 24 | while(nr!=2&&i<n){ | ~~~~~^~~~~ main.c:7:20: note: 'nr' was declared here 7 | int n, nrc, i, nr, j, ci, nrdiv, e, co, ci2, mx, r, cnr, c1; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 499 kb OK 5
2 1 ms 507 kb OK 5
3 1 ms 774 kb OK 5
4 9 ms 507 kb OK 5
5 38 ms 507 kb OK 5
6 59 ms 512 kb OK 5
7 48 ms 507 kb OK 5
8 78 ms 512 kb OK 5
9 139 ms 512 kb OK 5
10 159 ms 507 kb OK 5
11 908 ms 512 kb OK 5
12 796 ms 1552 kb a) linie incorecta; b) OK; c) OK 3
13 1368 ms 2342 kb a) linie incorecta; b) OK; c) OK 3
14 1609 ms 1290 kb Time limit exceeded 0
15 1607 ms 1822 kb Time limit exceeded 0
16 1609 ms 2367 kb Time limit exceeded 0
17 1609 ms 2871 kb Time limit exceeded 0
18 169 ms 3129 kb Memory limit exceeded 0
19 149 ms 3133 kb Memory limit exceeded 0
20 149 ms 3129 kb Memory limit exceeded 0
Punctaj total 61