Borderou de evaluare (job #784247)

Utilizator avatar MihaiDraghici MIHAI DRAGHICI MihaiDraghici IP ascuns
Problemă Examen2 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 21 aug. 2024 13:27:44 Scor 44

Raport evaluator

Compilare: main.c: In function 'main': main.c:32:23: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] 32 | pozitie_out = abs(pozitie_out); | ^~~ main.c:2:1: note: include '<stdlib.h>' or provide a declaration of 'abs' 1 | #include <stdio.h> +++ |+#include <stdlib.h> 2 | main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d%d%d%d", &c, &m, &n, &e); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d", &k); | ^~~~~~~~~~~~~~~~~~~~~ main.c:28:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf(fin, "%d%d", &j, &x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 507 kb OK 4
3 1 ms 245 kb OK 4
4 1 ms 266 kb OK 4
5 1 ms 245 kb OK 4
6 1 ms 245 kb OK 4
7 1 ms 266 kb OK 4
8 1 ms 266 kb OK 4
9 1 ms 245 kb OK 4
10 1 ms 245 kb OK 4
11 1 ms 245 kb OK 4
12 1 ms 507 kb Incorect 0
13 1 ms 245 kb Incorect 0
14 1 ms 241 kb Incorect 0
15 1 ms 245 kb Incorect 0
16 1 ms 245 kb Incorect 0
17 2 ms 114 kb Incorect 0
18 1 ms 245 kb Incorect 0
19 1 ms 249 kb Incorect 0
20 1 ms 249 kb Incorect 0
21 1 ms 249 kb Incorect 0
22 1 ms 249 kb Incorect 0
23 1 ms 249 kb Incorect 0
24 1 ms 249 kb Incorect 0
25 4 ms 249 kb Incorect 0
Punctaj total 44