Borderou de evaluare (job #770406)

Utilizator avatar Rradu_v2 Catana Radu Rradu_v2 IP ascuns
Problemă Alune (clasa a 8-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 27 mar. 2024 11:54:17 Scor 60

Raport evaluator

Compilare: main.c: In function 'main': main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin, "%d%d", &c, &d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:25:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fscanf(fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~ main.c:34:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | fscanf(fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~ main.c:35:17: warning: 'first' may be used uninitialized [-Wmaybe-uninitialized] 35 | x = x-(x%first); | ~~^~~~~~~ main.c:14:21: note: 'first' was declared here 14 | int c, d, i, x, first; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb OK 5
3 9 ms 512 kb Incorect 0
4 9 ms 249 kb Incorect 0
5 9 ms 249 kb Incorect 0
6 129 ms 147 kb Incorect 0
7 119 ms 163 kb Incorect 0
8 89 ms 163 kb Incorect 0
9 79 ms 172 kb Incorect 0
10 119 ms 417 kb OK 5
11 119 ms 147 kb OK 5
12 119 ms 155 kb OK 5
13 119 ms 176 kb OK 5
14 119 ms 155 kb OK 5
15 119 ms 413 kb OK 5
16 109 ms 159 kb OK 5
17 119 ms 155 kb OK 5
18 109 ms 155 kb OK 5
19 109 ms 159 kb OK 5
20 1 ms 245 kb OK 5
Punctaj total 60