Borderou de evaluare (job #738655)

Utilizator avatar Maria-Luiza Petrescu Maria-Luiza Maria-Luiza IP ascuns
Problemă La școală (clasa a 5-a) Compilator c-32
Rundă Tema 10 clasa a 5-a Status evaluat
Dată 17 oct. 2023 11:04:19 Scor 100

Raport evaluator

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