Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

14934
9444
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 0003.4 9340 3664 Accepted 100
1 1 2 3 5 0002.6 9340 3960 Accepted 100
2 1 2 3 5 0002.8 9340 3780 Accepted 100
3 1 2 3 5 0002.6 9340 3908 Accepted 100
4 1 2 3 5 0002.9 9340 3892 Accepted 100
5 1 2 3 5 0002.6 9340 3956 Accepted 100
6 1 2 3 5 0002.8 9340 3888 Accepted 100
7 1 2 3 5 0003.9 9340 3756 Accepted 100
8 1 2 3 5 0003.9 9340 3908 Accepted 100
9 1 2 3 5 0003.6 9340 3896 Accepted 100
10 1 2 3 5 0003.6 9340 3620 Accepted 100
11 1 2 3 5 0003.5 9340 3916 Accepted 100
12 2 3 5 0002.8 9340 3888 Accepted 100
13 2 3 5 0002.7 9340 3772 Accepted 100
14 2 3 5 0002.7 9340 3776 Accepted 100
15 2 3 5 0002.6 9340 3908 Accepted 100
16 2 3 5 0002.6 9340 3668 Accepted 100
17 2 3 5 0002.6 9340 3960 Accepted 100
18 2 3 5 0004.7 9340 3912 Accepted 100
19 2 3 5 0004.9 9340 3980 Accepted 100
20 2 3 5 0004.8 9340 3924 Accepted 100
21 2 3 5 0004.8 9340 3612 Accepted 100
22 2 3 5 0004.7 9340 3684 Accepted 100
23 2 3 5 0004.8 9340 3828 Accepted 100
24 2 3 5 0005.0 9340 3936 Accepted 100
25 2 3 5 0004.7 9340 3688 Accepted 100
26 2 3 5 0004.8 9340 3912 Accepted 100
27 2 3 5 0004.3 9340 3804 Accepted 100
28 2 3 5 0004.3 9340 3940 Accepted 100
29 3 5 0004.8 9340 3688 Accepted 100
30 3 5 0004.8 9340 3796 Accepted 100
31 3 5 0004.7 9340 3796 Accepted 100
32 3 5 0004.7 9340 3928 Accepted 100
33 3 5 0004.7 9340 3636 Accepted 100
34 3 5 0004.9 9340 3612 Accepted 100
35 3 5 0004.6 9340 3820 Accepted 100
36 3 5 0004.6 9340 3692 Accepted 100
37 3 5 0004.7 9340 3632 Accepted 100
38 3 5 0005.0 9340 3824 Accepted 100
39 3 5 0004.7 9340 3688 Accepted 100
40 4 5 0023.2 9340 4168 Accepted 100
41 3 5 0004.9 9340 3920 Accepted 100
42 4 5 0486.4 9340 7076 Accepted 100
43 4 5 0480.3 9340 6716 Accepted 100
44 4 5 0476.1 9340 7036 Accepted 100
45 4 5 0484.9 9340 6712 Accepted 100
46 4 5 0494.4 9340 6920 Accepted 100
47 4 5 0481.4 9340 6924 Accepted 100
48 4 5 0481.7 9340 6928 Accepted 100
49 4 5 0485.4 9340 7008 Accepted 100
50 4 5 0486.2 9340 6712 Accepted 100
51 4 5 0330.9 11212 8604 Accepted 100
52 4 5 0485.8 9340 7016 Accepted 100
53 4 5 0342.6 11820 9444 Accepted 100
54 4 5 0356.1 9472 6916 Accepted 100
55 5 0509.6 9340 7008 Accepted 100
56 5 0511.3 9340 6732 Accepted 100
57 5 0501.3 9340 6892 Accepted 100
58 5 0506.0 9340 6788 Accepted 100
59 5 0475.7 9340 7028 Accepted 100
60 5 0497.6 9340 6928 Accepted 100
61 5 0505.6 9340 6924 Accepted 100
62 5 0502.7 9340 7024 Accepted 100
63 5 0505.9 9340 7012 Accepted 100
64 5 0505.0 9340 7024 Accepted 100
65 5 0497.1 9340 7024 Accepted 100
66 5 0510.3 9340 6792 Accepted 100
67 5 0489.6 9340 6792 Accepted 100
68 5 0503.1 9340 7008 Accepted 100
69 5 0478.3 9340 6852 Accepted 100
70 5 0491.5 9340 6948 Accepted 100
71 5 0442.8 9340 7028 Accepted 100
72 5 0442.1 9340 7024 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2 KB
Back to Top