Borderou de evaluare (job #647275)

Utilizator avatar andreifilimon Popescu Filimon Andrei Cosmin andreifilimon IP ascuns
Problemă Noxa (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 apr. 2022 18:01:14 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:29:24: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration] 29 | dist+=(int)sqrt(100*100+100*100); | ^~~~ main.c:3:1: note: include '<math.h>' or provide a declaration of 'sqrt' 2 | #include <stdlib.h> +++ |+#include <math.h> 3 | #define MAXK 10000 main.c:29:24: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch] 29 | dist+=(int)sqrt(100*100+100*100); | ^~~~ main.c:29:24: note: include '<math.h>' or provide a declaration of 'sqrt' main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d%d",&m,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d",&k); | ^~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d%d",&pl[i],&pc[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 114 kb Incorect 0
3 1 ms 114 kb Incorect 0
4 1 ms 114 kb Incorect 0
5 1 ms 110 kb Incorect 0
6 2 ms 114 kb Incorect 0
7 1 ms 114 kb Incorect 0
8 1 ms 114 kb Incorect 0
9 1 ms 114 kb Incorect 0
10 1 ms 114 kb Incorect 0
11 1 ms 114 kb Incorect 0
12 1 ms 118 kb Incorect 0
13 1 ms 118 kb Incorect 0
14 1 ms 118 kb Incorect 0
15 1 ms 118 kb Incorect 0
16 18 ms 114 kb Incorect 0
17 14 ms 114 kb Incorect 0
18 1 ms 118 kb Incorect 0
19 17 ms 114 kb Incorect 0
20 21 ms 245 kb Incorect 0
Punctaj total 0