Pagini recente »
Borderou de evaluare (job #780052)
|
Borderou de evaluare (job #38408)
|
Borderou de evaluare (job #471616)
|
Borderou de evaluare (job #362585)
|
Borderou de evaluare (job #747869)
Borderou de evaluare (job #747869)
Raport evaluator
Compilare:
main.c: In function 'binet':
main.c:8:14: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration]
8 | x=(1+sqrt(5))/2;
| ^~~~
main.c:2:1: note: include '<math.h>' or provide a declaration of 'sqrt'
1 | #include <stdio.h>
+++ |+#include <math.h>
2 |
main.c:8:14: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch]
8 | x=(1+sqrt(5))/2;
| ^~~~
main.c:8:14: note: include '<math.h>' or provide a declaration of 'sqrt'
main.c:9:16: warning: implicit declaration of function 'round' [-Wimplicit-function-declaration]
9 | return round((pow(x, n)-pow(-1/x, n))/sqrt(5));
| ^~~~~
main.c:9:16: note: include '<math.h>' or provide a declaration of 'round'
main.c:9:16: warning: incompatible implicit declaration of built-in function 'round' [-Wbuiltin-declaration-mismatch]
main.c:9:16: note: include '<math.h>' or provide a declaration of 'round'
main.c:9:23: warning: implicit declaration of function 'pow' [-Wimplicit-function-declaration]
9 | return round((pow(x, n)-pow(-1/x, n))/sqrt(5));
| ^~~
main.c:9:23: note: include '<math.h>' or provide a declaration of 'pow'
main.c:9:23: warning: incompatible implicit declaration of built-in function 'pow' [-Wbuiltin-declaration-mismatch]
main.c:9:23: note: include '<math.h>' or provide a declaration of 'pow'
main.c: In function 'main':
main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
5
|
2
|
2 ms
|
245 kb
|
OK
|
5
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
241 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
2 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
245 kb
|
Incorect
|
0
|
14
|
2 ms
|
245 kb
|
Incorect
|
0
|
15
|
1 ms
|
245 kb
|
Incorect
|
0
|
16
|
1 ms
|
245 kb
|
Incorect
|
0
|
17
|
1 ms
|
245 kb
|
Incorect
|
0
|
18
|
2 ms
|
245 kb
|
Incorect
|
0
|
19
|
1 ms
|
245 kb
|
Incorect
|
0
|
20
|
1 ms
|
245 kb
|
Incorect
|
0
|
Penalizare: 10% (pentru 2 submisie/ii)
|
10%
|
Punctaj total
|
18
|