Borderou de evaluare (job #659096)

Utilizator avatar Hanganu_Rares Hanganu Rares Cont Fraudulent Hanganu_Rares IP ascuns
Problemă Gondola (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 26 aug. 2022 18:14:27 Scor 90

Raport evaluator

Compilare: main.c: In function 'main': main.c:24:14: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] 24 | dif1 = abs(v[i] - v[i - 1]); | ^~~ main.c:3:1: note: include '<stdlib.h>' or provide a declaration of 'abs' 2 | #include <math.h> +++ |+#include <stdlib.h> 3 | main.c:13:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 114 kb OK 10
5 1 ms 114 kb OK 10
6 1 ms 114 kb OK 10
7 1 ms 114 kb OK 10
8 1 ms 118 kb OK 10
9 54 ms 512 kb OK 10
10 360 ms 2084 kb Memory limit exceeded 0
Punctaj total 90