Pagini recente »
Clasament practice
|
Clasament greu
|
Clasament nu_ai_curaj2
|
5-national
|
Borderou de evaluare (job #804974)
Borderou de evaluare (job #804974)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:6:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
6 | fscanf(fin, "%d%d", &n, &gc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin, "%d", &a);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:19:5:
/usr/include/bits/stdio2.h:111:10: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:4:24: note: 'poz' was declared here
4 | int n, gc, gi, mu, poz;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
245 kb
|
OK
|
5
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
7
|
2 ms
|
245 kb
|
OK
|
5
|
8
|
1 ms
|
270 kb
|
OK
|
5
|
9
|
1 ms
|
249 kb
|
OK
|
5
|
10
|
1 ms
|
245 kb
|
OK
|
5
|
11
|
1 ms
|
249 kb
|
OK
|
5
|
12
|
1 ms
|
249 kb
|
OK
|
5
|
13
|
1 ms
|
512 kb
|
OK
|
5
|
14
|
1 ms
|
249 kb
|
OK
|
5
|
15
|
1 ms
|
249 kb
|
OK
|
5
|
16
|
1 ms
|
249 kb
|
OK
|
5
|
17
|
9 ms
|
245 kb
|
OK
|
5
|
18
|
9 ms
|
507 kb
|
OK
|
5
|
19
|
1 ms
|
249 kb
|
OK
|
5
|
20
|
1 ms
|
249 kb
|
OK
|
5
|
Punctaj total
|
100
|