Pagini recente »
Borderou de evaluare (job #229033)
|
Borderou de evaluare (job #311629)
|
Borderou de evaluare (job #753705)
|
Borderou de evaluare (job #148235)
|
Borderou de evaluare (job #732735)
Borderou de evaluare (job #732735)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:28:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
28 | fscanf(in, "%d", &command);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:29:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | fscanf(in, "%d", &N);
| ^~~~~~~~~~~~~~~~~~~~
main.c:32:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | fscanf(in, "%lld", &x);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:35:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | fscanf(in, "%lld", &x);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:68:9: warning: 'afis' may be used uninitialized [-Wmaybe-uninitialized]
68 | fprintf(out, "%lld %lld", (N / afis), pos_f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:40:43: note: 'afis' was declared here
40 | long long minim = 99999999999, pos_f, afis;
| ^~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:68:9:
/usr/include/bits/stdio2.h:79:10: warning: 'pos_f' may be used uninitialized [-Wmaybe-uninitialized]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:40:36: note: 'pos_f' was declared here
40 | long long minim = 99999999999, pos_f, afis;
| ^~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
1032 kb
|
Pomana (pentru ca un scor de 0p nu arata asa bine ca un scor de 10p)
|
10
|
2
|
59 ms
|
1032 kb
|
OK
|
4
|
3
|
59 ms
|
1032 kb
|
OK
|
4
|
4
|
9 ms
|
1028 kb
|
OK
|
4
|
5
|
59 ms
|
1032 kb
|
OK
|
4
|
6
|
9 ms
|
1032 kb
|
OK
|
4
|
7
|
9 ms
|
1036 kb
|
a) incorect; b) incorect
|
0
|
8
|
1 ms
|
774 kb
|
a) OK; b) incorect
|
3
|
9
|
19 ms
|
1032 kb
|
a) OK; b) incorect
|
3
|
10
|
2 ms
|
909 kb
|
OK
|
5
|
11
|
39 ms
|
1024 kb
|
a) OK; b) incorect
|
2
|
12
|
1 ms
|
1032 kb
|
a) incorect; b) incorect
|
0
|
13
|
59 ms
|
1024 kb
|
a) OK; b) incorect
|
2
|
14
|
49 ms
|
1032 kb
|
a) incorect; b) incorect
|
0
|
15
|
49 ms
|
1036 kb
|
a) incorect; b) incorect
|
0
|
16
|
49 ms
|
1028 kb
|
a) incorect; b) incorect
|
0
|
17
|
1 ms
|
1032 kb
|
OK
|
4
|
18
|
2 ms
|
1290 kb
|
a) incorect; b) incorect
|
0
|
19
|
1 ms
|
1028 kb
|
a) OK; b) incorect
|
2
|
20
|
1 ms
|
1028 kb
|
a) incorect; b) incorect
|
0
|
21
|
1 ms
|
1032 kb
|
OK
|
4
|
Punctaj total
|
55
|