Pagini recente »
Borderou de evaluare (job #393462)
|
Borderou de evaluare (job #350140)
|
Borderou de evaluare (job #657315)
|
Borderou de evaluare (job #523330)
|
Borderou de evaluare (job #825527)
Borderou de evaluare (job #825527)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | fscanf (fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf (fin, "%d", &nr);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:37:5:
/usr/include/bits/stdio2.h:111:10: warning: 'nrd' 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:6:36: note: 'nrd' was declared here
6 | int n, i, nr, a, c, maxd = -1, nrd, cnr, cif, put;
| ^~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
8
|
1 ms
|
245 kb
|
OK
|
5
|
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
245 kb
|
OK
|
5
|
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
12
|
1 ms
|
249 kb
|
OK
|
5
|
|
13
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
14
|
9 ms
|
270 kb
|
OK
|
5
|
|
15
|
19 ms
|
274 kb
|
Incorect
|
0
|
|
16
|
49 ms
|
249 kb
|
OK
|
5
|
|
17
|
99 ms
|
249 kb
|
Incorect
|
0
|
|
18
|
259 ms
|
266 kb
|
OK
|
5
|
|
19
|
259 ms
|
241 kb
|
Incorect
|
0
|
|
20
|
269 ms
|
245 kb
|
OK
|
5
|
|
Punctaj total
|
45
|