Pagini recente »
Borderou de evaluare (job #628711)
|
Borderou de evaluare (job #652510)
Borderou de evaluare (job #652510)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:34:15: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
34 | x = abs(v[i] - v[j]);
| ^~~
main.c:3:1: note: include '<stdlib.h>' or provide a declaration of 'abs'
2 | #include <math.h>
+++ |+#include <stdlib.h>
3 |
main.c:13:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin, "%d", &v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
114 kb
|
OK
|
10
|
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
3
|
14 ms
|
114 kb
|
Incorect
|
0
|
|
4
|
43 ms
|
118 kb
|
Incorect
|
0
|
|
5
|
307 ms
|
249 kb
|
Time limit exceeded
|
0
|
|
6
|
303 ms
|
380 kb
|
Time limit exceeded
|
0
|
|
7
|
309 ms
|
376 kb
|
Time limit exceeded
|
0
|
|
8
|
300 ms
|
507 kb
|
Time limit exceeded
|
0
|
|
9
|
306 ms
|
507 kb
|
Time limit exceeded
|
0
|
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
|
Punctaj total
|
10
|