Pagini recente »
Borderou de evaluare (job #113172)
|
Borderou de evaluare (job #187561)
|
Borderou de evaluare (job #56447)
|
Borderou de evaluare (job #474463)
|
Borderou de evaluare (job #708698)
Borderou de evaluare (job #708698)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:60:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
60 | fprintf(fout, "%d", ans);
| ~^ ~~~
| | |
| int long long int
| %lld
main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin, "%d%d", &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin, "%d", &a[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:58:11: warning: 'maxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
58 | if(maxx>maxxst[i-1])
| ^
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
|
249 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
249 kb
|
Incorect
|
0
|
6
|
1 ms
|
249 kb
|
Incorect
|
0
|
7
|
59 ms
|
2863 kb
|
OK
|
5
|
8
|
79 ms
|
2867 kb
|
Incorect
|
0
|
9
|
79 ms
|
2863 kb
|
Incorect
|
0
|
10
|
69 ms
|
2084 kb
|
Incorect
|
0
|
11
|
69 ms
|
2867 kb
|
OK
|
5
|
12
|
79 ms
|
3129 kb
|
Incorect
|
0
|
13
|
79 ms
|
2867 kb
|
Incorect
|
0
|
14
|
79 ms
|
2867 kb
|
Incorect
|
0
|
15
|
69 ms
|
2080 kb
|
Incorect
|
0
|
16
|
79 ms
|
2863 kb
|
Incorect
|
0
|
17
|
79 ms
|
3129 kb
|
Incorect
|
0
|
18
|
69 ms
|
2871 kb
|
Incorect
|
0
|
19
|
69 ms
|
2605 kb
|
Incorect
|
0
|
20
|
79 ms
|
3129 kb
|
OK
|
5
|
Punctaj total
|
15
|