Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5088
11760
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.7 14024 3792 Accepted 100
1 1 2 3 5 0002.7 14024 3900 Accepted 100
2 1 2 3 5 0002.8 14024 3796 Accepted 100
3 1 2 3 5 0002.6 14024 3728 Accepted 100
4 1 2 3 5 0002.9 14024 3792 Accepted 100
5 1 2 3 5 0002.5 14024 3800 Accepted 100
6 1 2 3 5 0002.7 14024 3656 Accepted 100
7 1 2 3 5 0003.0 14024 3900 Accepted 100
8 1 2 3 5 0003.1 14024 3928 Accepted 100
9 1 2 3 5 0003.0 14024 3820 Accepted 100
10 1 2 3 5 0003.0 14024 3684 Accepted 100
11 1 2 3 5 0003.0 14024 3680 Accepted 100
12 2 3 5 0002.6 14024 3728 Accepted 100
13 2 3 5 0002.6 14024 3888 Accepted 100
14 2 3 5 0002.7 14024 3880 Accepted 100
15 2 3 5 0002.7 14024 3580 Accepted 100
16 2 3 5 0002.6 14024 3956 Accepted 100
17 2 3 5 0002.7 14024 3880 Accepted 100
18 2 3 5 0003.4 14024 3940 Accepted 100
19 2 3 5 0003.7 14024 3984 Accepted 100
20 2 3 5 0003.5 14024 3936 Accepted 100
21 2 3 5 0003.4 14024 3696 Accepted 100
22 2 3 5 0003.4 14024 3688 Accepted 100
23 2 3 5 0003.4 14024 3992 Accepted 100
24 2 3 5 0003.3 14024 3764 Accepted 100
25 2 3 5 0003.3 14024 3692 Accepted 100
26 2 3 5 0003.3 14024 3928 Accepted 100
27 2 3 5 0003.3 14024 3936 Accepted 100
28 2 3 5 0003.3 14024 3912 Accepted 100
29 3 5 0003.2 14024 3920 Accepted 100
30 3 5 0003.6 14024 3932 Accepted 100
31 3 5 0003.3 14024 3836 Accepted 100
32 3 5 0003.5 14024 3920 Accepted 100
33 3 5 0003.5 14024 3940 Accepted 100
34 3 5 0003.4 14024 3920 Accepted 100
35 3 5 0003.2 14024 3932 Accepted 100
36 3 5 0003.2 14024 3700 Accepted 100
37 3 5 0003.2 14024 3648 Accepted 100
38 3 5 0003.5 14024 3832 Accepted 100
39 3 5 0003.6 14024 3928 Accepted 100
40 4 5 0009.7 14024 4248 Accepted 100
41 3 5 0003.6 14024 3988 Accepted 100
42 4 5 0162.9 14024 11464 Accepted 100
43 4 5 0161.9 14024 11412 Accepted 100
44 4 5 0161.5 14024 11704 Accepted 100
45 4 5 0163.1 14024 11608 Accepted 100
46 4 5 0163.6 14024 11412 Accepted 100
47 4 5 0162.8 14024 11452 Accepted 100
48 4 5 0161.9 14024 11412 Accepted 100
49 4 5 0162.0 14024 11688 Accepted 100
50 4 5 0164.4 14024 11700 Accepted 100
51 4 5 0120.8 14024 11116 Accepted 100
52 4 5 0163.2 14024 11712 Accepted 100
53 4 5 0126.4 14024 11536 Accepted 100
54 4 5 0128.3 14024 11700 Accepted 100
55 5 0181.3 14024 11464 Accepted 100
56 5 0180.4 14024 11700 Accepted 100
57 5 0143.0 14024 11504 Accepted 100
58 5 0179.8 14024 11604 Accepted 100
59 5 0150.5 14024 11708 Accepted 100
60 5 0176.4 14024 11468 Accepted 100
61 5 0179.1 14024 11704 Accepted 100
62 5 0176.8 14024 11388 Accepted 100
63 5 0175.8 14024 11408 Accepted 100
64 5 0143.5 14024 11684 Accepted 100
65 5 0165.2 14024 11392 Accepted 100
66 5 0149.0 14024 11472 Accepted 100
67 5 0159.3 14024 11604 Accepted 100
68 5 0175.4 14024 11760 Accepted 100
69 5 0157.5 14024 11468 Accepted 100
70 5 0144.7 14024 11368 Accepted 100
71 5 0156.3 14024 11464 Accepted 100
72 5 0153.6 14024 11600 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.99 KB
Back to Top