Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

8547
13248
Accepted
200

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~11 $N \leq 500, k \leq 3$ 8 / 8
2 0~28 $N \leq 1000, k \leq 5$ 14 / 14
3 0~39, 41 $N \leq 1000, k \leq 1000$ 32 / 32
4 40, 42~54 $N \leq 200000, k \leq 50$ 56 / 56
5 0~72 $N \leq 200000, k \leq 200000$ 90 / 90

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 5 0002.8 15584 3760 Accepted 100
1 1 2 3 5 0002.6 15584 3760 Accepted 100
2 1 2 3 5 0002.8 15584 3864 Accepted 100
3 1 2 3 5 0002.6 15584 3756 Accepted 100
4 1 2 3 5 0002.6 15584 3692 Accepted 100
5 1 2 3 5 0002.7 15584 3964 Accepted 100
6 1 2 3 5 0002.7 15584 3824 Accepted 100
7 1 2 3 5 0003.2 15584 3784 Accepted 100
8 1 2 3 5 0003.3 15584 3992 Accepted 100
9 1 2 3 5 0003.1 15584 3668 Accepted 100
10 1 2 3 5 0003.1 15584 3780 Accepted 100
11 1 2 3 5 0003.1 15584 3676 Accepted 100
12 2 3 5 0002.7 15584 3828 Accepted 100
13 2 3 5 0002.6 15584 3756 Accepted 100
14 2 3 5 0002.7 15584 3864 Accepted 100
15 2 3 5 0002.7 15584 3808 Accepted 100
16 2 3 5 0002.7 15584 3832 Accepted 100
17 2 3 5 0002.8 15584 3828 Accepted 100
18 2 3 5 0003.9 15584 4016 Accepted 100
19 2 3 5 0003.9 15584 4016 Accepted 100
20 2 3 5 0003.8 15584 4008 Accepted 100
21 2 3 5 0003.9 15584 3948 Accepted 100
22 2 3 5 0003.9 15584 3912 Accepted 100
23 2 3 5 0004.0 15584 3916 Accepted 100
24 2 3 5 0003.8 15584 3800 Accepted 100
25 2 3 5 0003.9 15584 3800 Accepted 100
26 2 3 5 0003.9 15584 3736 Accepted 100
27 2 3 5 0003.6 15584 3912 Accepted 100
28 2 3 5 0003.5 15584 3880 Accepted 100
29 3 5 0003.9 15584 3952 Accepted 100
30 3 5 0003.9 15584 3808 Accepted 100
31 3 5 0004.0 15584 3948 Accepted 100
32 3 5 0003.8 15584 3700 Accepted 100
33 3 5 0004.0 15584 3740 Accepted 100
34 3 5 0003.9 15584 3700 Accepted 100
35 3 5 0003.9 15584 4012 Accepted 100
36 3 5 0004.1 15584 3920 Accepted 100
37 3 5 0004.0 15584 4012 Accepted 100
38 3 5 0004.0 15584 3796 Accepted 100
39 3 5 0004.0 15584 3992 Accepted 100
40 4 5 0012.0 15584 4188 Accepted 100
41 3 5 0004.0 15584 3792 Accepted 100
42 4 5 0282.9 15584 12444 Accepted 100
43 4 5 0274.9 15584 12340 Accepted 100
44 4 5 0274.4 15584 12340 Accepted 100
45 4 5 0277.1 15584 12324 Accepted 100
46 4 5 0276.7 15584 12536 Accepted 100
47 4 5 0276.8 15584 12480 Accepted 100
48 4 5 0275.2 15584 12320 Accepted 100
49 4 5 0274.1 15584 12408 Accepted 100
50 4 5 0275.5 15584 12332 Accepted 100
51 4 5 0170.1 15584 12252 Accepted 100
52 4 5 0277.2 15584 12228 Accepted 100
53 4 5 0178.6 15584 12864 Accepted 100
54 4 5 0180.8 15584 12564 Accepted 100
55 5 0298.9 15584 12520 Accepted 100
56 5 0296.4 15584 12692 Accepted 100
57 5 0300.1 15584 13048 Accepted 100
58 5 0297.5 15584 12524 Accepted 100
59 5 0283.2 15584 12896 Accepted 100
60 5 0295.4 15584 12920 Accepted 100
61 5 0296.6 15584 12572 Accepted 100
62 5 0296.3 15584 12648 Accepted 100
63 5 0302.0 15584 12824 Accepted 100
64 5 0293.1 15584 13248 Accepted 100
65 5 0291.2 15584 12788 Accepted 100
66 5 0306.8 15584 13200 Accepted 100
67 5 0306.1 15584 13012 Accepted 100
68 5 0288.9 15584 12616 Accepted 100
69 5 0287.9 15584 12988 Accepted 100
70 5 0295.2 15584 13000 Accepted 100
71 5 0182.3 15584 12480 Accepted 100
72 5 0182.3 15584 12336 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
1.65 KB
Back to Top