Borderou de evaluare (job #652510)

Utilizator avatar Hanganu_Rares Hanganu Rares Cont Fraudulent Hanganu_Rares IP ascuns
Problemă Cifru2 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 10 iun. 2022 09:32:13 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:34:15: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] 34 | x = abs(v[i] - v[j]); | ^~~ 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 Incorect 0
3 14 ms 114 kb Incorect 0
4 43 ms 118 kb Incorect 0
5 307 ms 249 kb Time limit exceeded 0
6 303 ms 380 kb Time limit exceeded 0
7 309 ms 376 kb Time limit exceeded 0
8 300 ms 507 kb Time limit exceeded 0
9 306 ms 507 kb Time limit exceeded 0
10 1 ms 114 kb Incorect 0
Punctaj total 10