Borderou de evaluare (job #674620)

Utilizator avatar Andrei_6 AndreiMarket Andrei_6 IP ascuns
Problemă Copii (clasa a 5-a) Compilator c-32
Rundă ONI_ONI Status evaluat
Dată 7 nov. 2022 19:46:52 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 9 ms 118 kb OK 5
5 49 ms 118 kb OK 5
6 79 ms 114 kb OK 8
7 22 ms 118 kb OK 8
8 65 ms 118 kb OK 8
9 1 ms 110 kb OK 3
10 2 ms 114 kb OK 3
11 1 ms 114 kb OK 3
12 1 ms 110 kb OK 3
13 1 ms 114 kb OK 4
14 1 ms 114 kb OK 4
15 27 ms 118 kb OK 5
16 15 ms 118 kb OK 5
17 62 ms 118 kb OK 5
18 19 ms 118 kb OK 5
19 101 ms 118 kb OK 10
20 85 ms 114 kb OK 10
Punctaj total 100