Pagini recente »
Borderou de evaluare (job #199112)
|
Borderou de evaluare (job #192627)
|
Borderou de evaluare (job #191711)
|
Borderou de evaluare (job #825891)
Borderou de evaluare (job #825891)
Raport evaluator
Compilare:
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%d%d", &p, &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:22:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | fscanf (fin, "%d", &cas);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:42:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | fscanf (fin, "%d", &casu[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:89:9:
/usr/include/bits/stdio2.h:111:10: warning: 'kcas' 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:15:64: note: 'kcas' was declared here
15 | int p, n, k, i, cas, flag = 0, salt = 0, j, mcas = -1, ck, kcas;
| ^~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 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
|
249 kb
|
OK
|
5
|
|
7
|
79 ms
|
229 kb
|
OK
|
5
|
|
8
|
1 ms
|
245 kb
|
OK
|
5
|
|
9
|
1 ms
|
245 kb
|
OK
|
5
|
|
10
|
1 ms
|
249 kb
|
OK
|
5
|
|
11
|
99 ms
|
229 kb
|
OK
|
5
|
|
12
|
19 ms
|
249 kb
|
OK
|
5
|
|
13
|
59 ms
|
249 kb
|
OK
|
5
|
|
14
|
1 ms
|
245 kb
|
OK
|
5
|
|
15
|
1 ms
|
245 kb
|
OK
|
5
|
|
16
|
1 ms
|
245 kb
|
OK
|
5
|
|
17
|
79 ms
|
249 kb
|
OK
|
5
|
|
18
|
39 ms
|
258 kb
|
OK
|
5
|
|
19
|
79 ms
|
249 kb
|
OK
|
5
|
|
20
|
309 ms
|
245 kb
|
OK
|
5
|
|
Punctaj total
|
100
|