Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

8427
13372
Wrong Answer
54

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$ 0 / 56
5 0~72 $N \leq 200000, k \leq 200000$ 0 / 90

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 5 0002.7 15576 3952 Accepted 100
1 1 2 3 5 0002.5 15576 3868 Accepted 100
2 1 2 3 5 0002.6 15576 3788 Accepted 100
3 1 2 3 5 0003.7 15576 3792 Accepted 100
4 1 2 3 5 0002.6 15576 3752 Accepted 100
5 1 2 3 5 0002.7 15576 3860 Accepted 100
6 1 2 3 5 0002.6 15576 3756 Accepted 100
7 1 2 3 5 0003.1 15576 4028 Accepted 100
8 1 2 3 5 0003.2 15576 3756 Accepted 100
9 1 2 3 5 0003.2 15576 3988 Accepted 100
10 1 2 3 5 0003.0 15576 3776 Accepted 100
11 1 2 3 5 0003.0 15576 3968 Accepted 100
12 2 3 5 0002.6 15576 3960 Accepted 100
13 2 3 5 0002.7 15576 3860 Accepted 100
14 2 3 5 0002.7 15576 3800 Accepted 100
15 2 3 5 0002.7 15576 3948 Accepted 100
16 2 3 5 0002.7 15576 3948 Accepted 100
17 2 3 5 0002.7 15576 4004 Accepted 100
18 2 3 5 0003.8 15576 4052 Accepted 100
19 2 3 5 0003.8 15576 3848 Accepted 100
20 2 3 5 0003.8 15576 3908 Accepted 100
21 2 3 5 0003.8 15576 3804 Accepted 100
22 2 3 5 0003.8 15576 3920 Accepted 100
23 2 3 5 0003.8 15576 3996 Accepted 100
24 2 3 5 0003.9 15576 3952 Accepted 100
25 2 3 5 0003.8 15576 3836 Accepted 100
26 2 3 5 0003.7 15576 3844 Accepted 100
27 2 3 5 0003.5 15576 3804 Accepted 100
28 2 3 5 0003.5 15576 3912 Accepted 100
29 3 5 0003.9 15576 3784 Accepted 100
30 3 5 0003.8 15576 3916 Accepted 100
31 3 5 0003.9 15576 4024 Accepted 100
32 3 5 0003.8 15576 3812 Accepted 100
33 3 5 0003.9 15576 3960 Accepted 100
34 3 5 0003.9 15576 4020 Accepted 100
35 3 5 0003.8 15576 3840 Accepted 100
36 3 5 0003.9 15576 4076 Accepted 100
37 3 5 0004.0 15576 4072 Accepted 100
38 3 5 0003.9 15576 4000 Accepted 100
39 3 5 0003.9 15576 4000 Accepted 100
40 4 5 0012.5 15576 4392 Accepted 100
41 3 5 0003.8 15576 3852 Accepted 100
42 4 5 0269.8 15576 12380 Accepted 100
43 4 5 0269.3 15576 12596 Accepted 100
44 4 5 0269.7 15576 12596 Accepted 100
45 4 5 0272.5 15576 12328 Accepted 100
46 4 5 0274.1 15576 12332 Accepted 100
47 4 5 0270.7 15576 12368 Accepted 100
48 4 5 0271.1 15576 12524 Accepted 100
49 4 5 0268.7 15576 12580 Accepted 100
50 4 5 0271.8 15576 12532 Accepted 100
51 4 5 0178.6 15576 12100 Wrong Answer 0
52 4 5 0272.0 15576 12544 Accepted 100
53 4 5 0189.5 15576 12640 Wrong Answer 0
54 4 5 0183.2 15576 12620 Accepted 100
55 5 0292.4 15576 12708 Accepted 100
56 5 0290.5 15576 12612 Accepted 100
57 5 0292.8 15576 13056 Accepted 100
58 5 0295.4 15576 12528 Accepted 100
59 5 0278.2 15576 13248 Accepted 100
60 5 0288.4 15576 12840 Accepted 100
61 5 0291.5 15576 12812 Accepted 100
62 5 0291.1 15576 12908 Accepted 100
63 5 0292.4 15576 12812 Accepted 100
64 5 0290.2 15576 13372 Accepted 100
65 5 0286.5 15576 12780 Accepted 100
66 5 0301.2 15576 13348 Accepted 100
67 5 0284.4 15576 12816 Accepted 100
68 5 0286.4 15576 12376 Accepted 100
69 5 0285.8 15576 13048 Accepted 100
70 5 0292.8 15576 13004 Accepted 100
71 5 0187.5 15576 12580 Accepted 100
72 5 0186.9 15576 12332 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
1.65 KB
Back to Top