Borderou de evaluare (job #756805)

Utilizator avatar sevescu.cristian@gmail.com cristian sevescu sevescu.cristian@gmail.com IP ascuns
Problemă Las Fierbinți (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 21 ian. 2024 22:53:07 Scor 80

Raport evaluator

Compilare: main.c: In function 'main': main.c:18:31: warning: implicit declaration of function 'cmmmc' [-Wimplicit-function-declaration] 18 | fprintf(fout, "%d", l/cmmmc(c,f) ); | ^~~~~ main.c:24:22: warning: implicit declaration of function 'areDivizorMaiMicDecatK' [-Wimplicit-function-declaration] 24 | found = !areDivizorMaiMicDecatK(i, k); | ^~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'areDivizorMaiMicDecatK': main.c:47:25: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration] 47 | for (j=2;j<=k && j<=sqrt(n);j++){ | ^~~~ main.c:3:1: note: include '<math.h>' or provide a declaration of 'sqrt' 2 | #include <stdlib.h> +++ |+#include <math.h> 3 | main.c:47:25: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch] 47 | for (j=2;j<=k && j<=sqrt(n);j++){ | ^~~~ main.c:47:25: note: include '<math.h>' or provide a declaration of 'sqrt' main.c: In function 'main': main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d", &t); | ^~~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d%d%d", &l, &c,&f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d%d%d", &l, &c,&f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:22:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(fin, "%d%d", &l, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:33:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fscanf(fin, "%d%d%d", &l, &k, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:35:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | fscanf(fin, "%d", &p); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 245 kb OK 4
3 1 ms 245 kb OK 4
4 1 ms 245 kb OK 4
5 1 ms 245 kb OK 4
6 1 ms 245 kb OK 4
7 1 ms 245 kb OK 4
8 1 ms 245 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 245 kb OK 4
13 1 ms 245 kb OK 4
14 1 ms 245 kb OK 4
15 1 ms 249 kb OK 4
16 1 ms 249 kb OK 4
17 1 ms 249 kb OK 4
18 1 ms 245 kb Incorect 0
19 9 ms 249 kb OK 4
20 29 ms 249 kb Incorect 0
21 219 ms 249 kb OK 4
22 399 ms 249 kb Incorect 0
23 149 ms 249 kb OK 4
24 809 ms 249 kb Time limit exceeded 0
25 809 ms 249 kb Time limit exceeded 0
Punctaj total 80