Borderou de evaluare (job #781727)

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 12:22:10 Scor 64

Raport evaluator

Compilare: main.c: In function 'main': main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin,"%d%d",&n,&nrc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%c",&v[0]); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin,"%c",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:23:16: warning: 'nr' is used uninitialized [-Wuninitialized] 23 | 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 245 kb OK 5
2 2 ms 249 kb OK 5
3 1 ms 249 kb OK 5
4 9 ms 249 kb OK 5
5 29 ms 249 kb OK 5
6 59 ms 249 kb OK 5
7 46 ms 249 kb OK 5
8 79 ms 245 kb OK 5
9 139 ms 249 kb OK 5
10 159 ms 249 kb OK 5
11 909 ms 266 kb OK 5
12 789 ms 512 kb a) linie incorecta; b) OK; c) OK 3
13 1368 ms 765 kb a) linie incorecta; b) OK; c) OK 3
14 1599 ms 528 kb a) linie incorecta; b) OK; c) OK 3
15 1608 ms 507 kb Time limit exceeded 0
16 1609 ms 786 kb Time limit exceeded 0
17 1609 ms 1032 kb Time limit exceeded 0
18 1609 ms 1032 kb Time limit exceeded 0
19 1609 ms 1032 kb Time limit exceeded 0
20 1609 ms 1298 kb Time limit exceeded 0
Punctaj total 64