Pagini recente »
Borderou de evaluare (job #54209)
|
Borderou de evaluare (job #227635)
|
Borderou de evaluare (job #276433)
|
Borderou de evaluare (job #174274)
|
Borderou de evaluare (job #740832)
Borderou de evaluare (job #740832)
Raport evaluator
Compilare:
main.c: In function 'sumd':
main.c:6:11: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration]
6 | int r=sqrt(n);
| ^~~~
main.c:2:1: note: include '<math.h>' or provide a declaration of 'sqrt'
1 | #include <stdio.h>
+++ |+#include <math.h>
2 |
main.c:6:11: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch]
6 | int r=sqrt(n);
| ^~~~
main.c:6:11: note: include '<math.h>' or provide a declaration of 'sqrt'
main.c:14:1: warning: control reaches end of non-void function [-Wreturn-type]
14 | }
| ^
main.c: In function 'main':
main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
rezultat incorect
|
0
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
rezultat incorect
|
0
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
rezultat incorect
|
0
|
8
|
1 ms
|
245 kb
|
OK
|
10
|
9
|
1 ms
|
245 kb
|
rezultat incorect
|
0
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
60
|