Pagini recente »
Borderou de evaluare (job #825084)
Borderou de evaluare (job #825084)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf (fin, "%d%d", &c, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf (fin, "%d", &prev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf (fin, "%d", &nr);
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:38:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | fscanf (fin, "%d", &brat[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:64:9:
/usr/include/bits/stdio2.h:111:10: warning: 'ms' 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:7:67: note: 'ms' was declared here
7 | int c, n, i, nr, prev, cnr, cnt = 0, val, mk = 1, k, s, d, j, ms, md, flag, row = 1;
| ^~
In function 'fprintf',
inlined from 'main' at main.c:64:9:
/usr/include/bits/stdio2.h:111:10: warning: 'md' 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:7:71: note: 'md' was declared here
7 | int c, n, i, nr, prev, cnr, cnt = 0, val, mk = 1, k, s, d, j, ms, md, flag, row = 1;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
507 ms
|
512 kb
|
Time limit exceeded
|
0
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
249 kb
|
Incorect
|
0
|
5
|
1 ms
|
270 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
509 ms
|
528 kb
|
Time limit exceeded
|
0
|
9
|
509 ms
|
1032 kb
|
Time limit exceeded
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
40
|