Borderou de evaluare (job #790935)

Utilizator avatar MARIARADU Radu Maria Sofia MARIARADU IP ascuns
Problemă La școală (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 23 oct. 2024 13:28:21 Scor 0

Raport evaluator

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