Borderou de evaluare (job #631823)

Utilizator avatar bakono01001 Tara Horia-Andrei bakono01001 IP ascuns
Problemă Divizor (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 11 feb. 2022 13:52:51 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:46:18: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration] 46 | while(k<=sqrt(numere[i])){ | ^~~~ main.c:3:1: note: include '<math.h>' or provide a declaration of 'sqrt' 2 | #include <stdlib.h> +++ |+#include <math.h> 3 | main.c:46:18: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch] 46 | while(k<=sqrt(numere[i])){ | ^~~~ main.c:46:18: note: include '<math.h>' or provide a declaration of 'sqrt' main.c:8:23: warning: unused variable 'inm' [-Wunused-variable] 8 | int n,init1,init2,inm,m,i,j,div,k,ID,max; | ^~~ main.c:8:17: warning: unused variable 'init2' [-Wunused-variable] 8 | int n,init1,init2,inm,m,i,j,div,k,ID,max; | ^~~~~ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 110 kb Incorect 0
2 1 ms 114 kb Incorect 0
3 1 ms 110 kb Incorect 0
4 2 ms 114 kb Incorect 0
5 1 ms 114 kb Incorect 0
6 1 ms 114 kb Incorect 0
7 1 ms 110 kb Incorect 0
8 1 ms 110 kb Incorect 0
9 1 ms 110 kb Incorect 0
10 1 ms 114 kb Incorect 0
Punctaj total 0