Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

35251
12536
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 14804 3892 Accepted 100
1 1 2 3 5 0002.6 14804 3616 Accepted 100
2 1 2 3 5 0002.9 14804 3784 Accepted 100
3 1 2 3 5 0002.8 14804 3948 Accepted 100
4 1 2 3 5 0002.9 14804 3784 Accepted 100
5 1 2 3 5 0002.7 14804 3740 Accepted 100
6 1 2 3 5 0002.6 14804 3672 Accepted 100
7 1 2 3 5 0004.0 14804 3636 Accepted 100
8 1 2 3 5 0004.0 14804 3916 Accepted 100
9 1 2 3 5 0004.1 14804 3928 Accepted 100
10 1 2 3 5 0003.8 14804 3804 Accepted 100
11 1 2 3 5 0003.8 14804 3916 Accepted 100
12 2 3 5 0002.7 14804 3616 Accepted 100
13 2 3 5 0002.6 14804 3892 Accepted 100
14 2 3 5 0002.7 14804 3916 Accepted 100
15 2 3 5 0002.7 14804 3904 Accepted 100
16 2 3 5 0002.7 14804 3808 Accepted 100
17 2 3 5 0002.7 14804 3740 Accepted 100
18 2 3 5 0005.7 14804 3952 Accepted 100
19 2 3 5 0005.6 14804 3716 Accepted 100
20 2 3 5 0005.6 14804 3932 Accepted 100
21 2 3 5 0005.7 14804 3640 Accepted 100
22 2 3 5 0005.9 14804 3964 Accepted 100
23 2 3 5 0006.1 14804 3960 Accepted 100
24 2 3 5 0005.8 14804 3948 Accepted 100
25 2 3 5 0005.8 14804 3640 Accepted 100
26 2 3 5 0005.9 14804 3856 Accepted 100
27 2 3 5 0005.1 14804 3784 Accepted 100
28 2 3 5 0005.0 14804 3716 Accepted 100
29 3 5 0007.4 14804 3720 Accepted 100
30 3 5 0006.0 14804 3852 Accepted 100
31 3 5 0005.7 14804 3952 Accepted 100
32 3 5 0005.8 14804 3932 Accepted 100
33 3 5 0005.8 14804 3828 Accepted 100
34 3 5 0005.8 14804 3936 Accepted 100
35 3 5 0005.6 14804 3716 Accepted 100
36 3 5 0005.6 14804 3660 Accepted 100
37 3 5 0005.8 14804 3856 Accepted 100
38 3 5 0005.6 14804 3640 Accepted 100
39 3 5 0006.4 14804 3664 Accepted 100
40 4 5 0032.8 14804 4024 Accepted 100
41 3 5 0006.5 14804 3852 Accepted 100
42 4 5 1240.2 14804 12172 Accepted 100
43 4 5 1231.5 14804 12316 Accepted 100
44 4 5 1263.3 14804 12300 Accepted 100
45 4 5 1248.1 14804 12196 Accepted 100
46 4 5 1228.1 14804 12484 Accepted 100
47 4 5 1247.9 14804 12176 Accepted 100
48 4 5 1249.3 14804 12464 Accepted 100
49 4 5 1241.7 14804 12388 Accepted 100
50 4 5 1220.0 14804 12248 Accepted 100
51 4 5 0846.9 14804 11952 Wrong Answer 0
52 4 5 1228.8 14804 12312 Accepted 100
53 4 5 0998.9 14804 12252 Wrong Answer 0
54 4 5 1305.0 14804 12472 Wrong Answer 0
55 5 1203.5 14804 12464 Accepted 100
56 5 1209.4 14804 12472 Accepted 100
57 5 0985.0 14804 12260 Accepted 100
58 5 1201.4 14804 12472 Accepted 100
59 5 1039.1 14804 12380 Accepted 100
60 5 1143.1 14804 12316 Accepted 100
61 5 1210.2 14804 12492 Accepted 100
62 5 1180.9 14804 12484 Accepted 100
63 5 1167.9 14804 12356 Accepted 100
64 5 0997.2 14804 12360 Accepted 100
65 5 1147.7 14804 12196 Accepted 100
66 5 1014.5 14804 12248 Accepted 100
67 5 1077.3 14804 12384 Accepted 100
68 5 1210.6 14804 12196 Accepted 100
69 5 1074.0 14804 12248 Accepted 100
70 5 1001.0 14804 12076 Accepted 100
71 5 0773.6 14804 12536 Accepted 100
72 5 0842.4 14804 12480 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.84 KB
Back to Top