Borderou de evaluare (job #674697)

Utilizator avatar Andrei_6 AndreiMarket Andrei_6 IP ascuns
Problemă Copii (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 7 nov. 2022 22:42:32 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:37:13: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration] 37 | p = sqrt ( y ); | ^~~~ main.c:3:1: note: include '<math.h>' or provide a declaration of 'sqrt' 2 | #include <stdlib.h> +++ |+#include <math.h> 3 | #define MOD 1000000000 main.c:37:13: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch] 37 | p = sqrt ( y ); | ^~~~ main.c:37:13: note: include '<math.h>' or provide a declaration of 'sqrt' main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf ( fin , "%d" , &cer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf ( fin , "%d%d" , &x , &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:36:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | fscanf ( fin , "%lld" , &y ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 2
2 1 ms 114 kb OK 2
3 1 ms 114 kb OK 2
4 11 ms 118 kb OK 5
5 51 ms 118 kb OK 5
6 77 ms 118 kb OK 8
7 20 ms 114 kb OK 8
8 63 ms 118 kb OK 8
9 1 ms 114 kb OK 3
10 1 ms 114 kb OK 3
11 1 ms 114 kb OK 3
12 1 ms 114 kb OK 3
13 1 ms 114 kb OK 4
14 1 ms 114 kb OK 4
15 32 ms 114 kb OK 5
16 19 ms 114 kb OK 5
17 69 ms 114 kb OK 5
18 21 ms 114 kb OK 5
19 100 ms 118 kb OK 10
20 88 ms 114 kb OK 10
Punctaj total 100