Pagini recente »
Profil GabiSamer
|
Profil firfaiulia
|
simulare64
|
Statisticile problemei parcare
|
Borderou de evaluare (job #856418)
Borderou de evaluare (job #856418)
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", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin, "%d", &v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:27:5:
/usr/include/bits/stdio2.h:111:10: warning: 'dr' 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:8:30: note: 'dr' was declared here
8 | int n, maxSum, s, i, st, dr;
| ^~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
2
|
0 ms
|
508 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
5
|
1 ms
|
292 kb
|
Incorect
|
0
|
|
6
|
2 ms
|
508 kb
|
Incorect
|
0
|
|
7
|
3 ms
|
292 kb
|
Incorect
|
0
|
|
8
|
4 ms
|
508 kb
|
Incorect
|
0
|
|
9
|
11 ms
|
764 kb
|
Incorect
|
0
|
|
10
|
24 ms
|
1276 kb
|
Incorect
|
0
|
|
11
|
48 ms
|
1844 kb
|
Incorect
|
0
|
|
12
|
71 ms
|
2596 kb
|
Incorect
|
0
|
|
13
|
95 ms
|
3380 kb
|
Incorect
|
0
|
|
14
|
119 ms
|
4120 kb
|
Incorect
|
0
|
|
15
|
556 ms
|
19764 kb
|
Incorect
|
0
|
|
16
|
611 ms
|
21796 kb
|
Incorect
|
0
|
|
17
|
610 ms
|
21796 kb
|
Incorect
|
0
|
|
18
|
666 ms
|
23864 kb
|
Incorect
|
0
|
|
19
|
666 ms
|
23844 kb
|
Incorect
|
0
|
|
20
|
666 ms
|
23844 kb
|
Incorect
|
0
|
|
Punctaj total
|
0
|