Borderou de evaluare (job #675253)

Utilizator avatar Ralucutza Popa Maya Ralucutza IP ascuns
Problemă Formula 1 (clasa a 6-a) Compilator c-32
Rundă Tema 8 clasa a 6-a Status evaluat
Dată 11 nov. 2022 21:13:00 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:17:16: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration] 17 | x=(int)sqrt(2*s+1); | ^~~~ main.c:3:1: note: include '<math.h>' or provide a declaration of 'sqrt' 2 | #include <stdlib.h> +++ |+#include <math.h> 3 | int main() { main.c:17:16: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch] 17 | x=(int)sqrt(2*s+1); | ^~~~ main.c:17:16: note: include '<math.h>' or provide a declaration of 'sqrt' main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf( fin, "%d", &C); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf( fin, "%lld%lld", &k, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 114 kb OK 5
3 1 ms 114 kb OK 5
4 1 ms 114 kb OK 5
5 1 ms 114 kb OK 3
6 1 ms 114 kb OK 7
7 1 ms 114 kb OK 7
8 1 ms 114 kb OK 7
9 1 ms 114 kb OK 7
10 1 ms 114 kb OK 7
11 1 ms 114 kb OK 7
12 1 ms 126 kb OK 7
13 1 ms 114 kb OK 7
14 1 ms 114 kb OK 7
15 1 ms 126 kb OK 7
16 1 ms 126 kb OK 7
Punctaj total 100