Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

25172
12836
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.6 6208 3712 Accepted 100
1 1 2 3 5 0002.4 6208 3796 Accepted 100
2 1 2 3 5 0002.6 6208 3644 Accepted 100
3 1 2 3 5 0002.4 6208 3716 Accepted 100
4 1 2 3 5 0002.6 6208 3800 Accepted 100
5 1 2 3 5 0002.5 6208 4000 Accepted 100
6 1 2 3 5 0002.5 6208 3784 Accepted 100
7 1 2 3 5 0002.7 6208 3800 Accepted 100
8 1 2 3 5 0002.7 6208 3816 Accepted 100
9 1 2 3 5 0002.5 6208 3804 Accepted 100
10 1 2 3 5 0002.6 6208 4032 Accepted 100
11 1 2 3 5 0002.5 6208 3736 Accepted 100
12 2 3 5 0002.5 6208 3944 Accepted 100
13 2 3 5 0002.4 6208 3804 Accepted 100
14 2 3 5 0002.6 6208 4008 Accepted 100
15 2 3 5 0002.4 6208 3868 Accepted 100
16 2 3 5 0002.6 6208 3992 Accepted 100
17 2 3 5 0002.4 6208 3696 Accepted 100
18 2 3 5 0003.3 6208 3992 Accepted 100
19 2 3 5 0002.7 6208 3760 Accepted 100
20 2 3 5 0003.0 6208 3732 Accepted 100
21 2 3 5 0002.7 6208 3992 Accepted 100
22 2 3 5 0002.9 6208 3744 Accepted 100
23 2 3 5 0003.0 6208 3696 Accepted 100
24 2 3 5 0002.9 6208 3940 Accepted 100
25 2 3 5 0003.0 6208 3700 Accepted 100
26 2 3 5 0002.9 6208 3988 Accepted 100
27 2 3 5 0002.6 6208 3832 Accepted 100
28 2 3 5 0002.7 6208 3852 Accepted 100
29 3 5 0005.0 6208 4028 Accepted 100
30 3 5 0004.5 6208 3692 Accepted 100
31 3 5 0005.0 6208 3696 Accepted 100
32 3 5 0004.5 6208 3872 Accepted 100
33 3 5 0006.1 6208 3760 Accepted 100
34 3 5 0006.1 6208 4052 Accepted 100
35 3 5 0004.7 6208 3836 Accepted 100
36 3 5 0004.9 6208 3932 Accepted 100
37 3 5 0005.9 6208 3768 Accepted 100
38 3 5 0006.0 6208 3700 Accepted 100
39 3 5 0004.3 6208 3936 Accepted 100
40 4 5 0005.2 6712 4440 Accepted 100
41 3 5 0003.9 6208 3832 Accepted 100
42 4 5 0439.1 15592 12724 Accepted 100
43 4 5 0399.8 15592 12756 Accepted 100
44 4 5 0569.0 15592 12748 Accepted 100
45 4 5 0590.7 15592 12836 Accepted 100
46 4 5 0614.7 15592 12768 Accepted 100
47 4 5 0531.9 15592 12744 Accepted 100
48 4 5 0508.9 15592 12780 Accepted 100
49 4 5 0515.3 15592 12748 Accepted 100
50 4 5 0517.0 15592 12724 Accepted 100
51 4 5 0278.8 15016 11848 Accepted 100
52 4 5 0404.7 15592 12804 Accepted 100
53 4 5 0295.3 15592 12760 Accepted 100
54 4 5 0288.6 15592 12748 Accepted 100
55 5 1190.3 15592 12784 Accepted 100
56 5 1069.8 15592 12800 Accepted 100
57 5 1315.9 15472 12488 Accepted 100
58 5 1107.3 15592 12752 Accepted 100
59 5 1255.6 15592 12760 Accepted 100
60 5 1163.3 15592 12756 Accepted 100
61 5 1202.0 15592 12836 Accepted 100
62 5 1152.8 15592 12752 Accepted 100
63 5 1143.4 15592 12736 Accepted 100
64 5 1176.1 15592 12760 Accepted 100
65 5 1147.1 15592 12740 Accepted 100
66 5 1313.1 15592 12772 Accepted 100
67 5 1170.8 15592 12800 Accepted 100
68 5 0958.0 15592 12756 Accepted 100
69 5 1237.8 15592 12776 Accepted 100
70 5 1336.6 15400 12528 Accepted 100
71 5 0067.7 15592 12760 Accepted 100
72 5 0067.5 15592 12764 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
11.3 KB
Back to Top