Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2108
9188
Wrong Answer
0

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~11 $N \leq 500, k \leq 3$ 0 / 8
2 0~28 $N \leq 1000, k \leq 5$ 0 / 14
3 0~39, 41 $N \leq 1000, k \leq 1000$ 0 / 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 0001.3 10520 1208 Accepted 100
1 1 2 3 5 0001.3 10520 1196 Accepted 100
2 1 2 3 5 0001.3 10520 1308 Accepted 100
3 1 2 3 5 0001.4 10520 1308 Accepted 100
4 1 2 3 5 0001.3 10520 1208 Accepted 100
5 1 2 3 5 0001.3 10520 1220 Accepted 100
6 1 2 3 5 0001.3 10520 1232 Accepted 100
7 1 2 3 5 0001.4 10520 1224 Accepted 100
8 1 2 3 5 0001.4 10520 1252 Wrong Answer 0
9 1 2 3 5 0001.4 10520 1244 Accepted 100
10 1 2 3 5 0001.4 10520 1328 Accepted 100
11 1 2 3 5 0001.5 10520 1272 Accepted 100
12 2 3 5 0001.2 10520 1224 Wrong Answer 0
13 2 3 5 0001.3 10520 1292 Accepted 100
14 2 3 5 0001.3 10520 1204 Accepted 100
15 2 3 5 0001.4 10520 1328 Accepted 100
16 2 3 5 0001.3 10520 1228 Accepted 100
17 2 3 5 0001.3 10520 1296 Accepted 100
18 2 3 5 0001.5 10520 1364 Wrong Answer 0
19 2 3 5 0001.5 10520 1240 Accepted 100
20 2 3 5 0001.6 10520 1268 Wrong Answer 0
21 2 3 5 0001.6 10520 1256 Accepted 100
22 2 3 5 0001.6 10520 1292 Accepted 100
23 2 3 5 0001.6 10520 1260 Accepted 100
24 2 3 5 0001.5 10520 1344 Accepted 100
25 2 3 5 0001.6 10520 1264 Accepted 100
26 2 3 5 0001.6 10520 1348 Accepted 100
27 2 3 5 0001.5 10520 1248 Accepted 100
28 2 3 5 0001.5 10520 1256 Accepted 100
29 3 5 0001.6 10520 1352 Accepted 100
30 3 5 0001.8 10520 1248 Accepted 100
31 3 5 0001.6 10520 1260 Accepted 100
32 3 5 0001.6 10520 1268 Accepted 100
33 3 5 0001.6 10520 1360 Accepted 100
34 3 5 0001.5 10520 1248 Accepted 100
35 3 5 0001.5 10520 1292 Accepted 100
36 3 5 0001.6 10520 1344 Accepted 100
37 3 5 0001.6 10520 1344 Accepted 100
38 3 5 0001.7 10520 1368 Accepted 100
39 3 5 0001.7 10520 1260 Accepted 100
40 4 5 0003.5 10520 1644 Accepted 100
41 3 5 0001.8 10520 1244 Accepted 100
42 4 5 0058.2 10520 9088 Wrong Answer 0
43 4 5 0058.1 10520 9160 Wrong Answer 0
44 4 5 0058.4 10520 9088 Wrong Answer 0
45 4 5 0058.7 10520 9124 Wrong Answer 0
46 4 5 0058.2 10520 9184 Wrong Answer 0
47 4 5 0058.4 10520 9112 Wrong Answer 0
48 4 5 0058.3 10520 9080 Wrong Answer 0
49 4 5 0058.5 10520 9104 Wrong Answer 0
50 4 5 0058.2 10520 9072 Wrong Answer 0
51 4 5 0034.1 10520 8588 Wrong Answer 0
52 4 5 0059.0 10520 9068 Accepted 100
53 4 5 0036.0 10520 9112 Wrong Answer 0
54 4 5 0038.0 10520 9188 Wrong Answer 0
55 5 0088.5 10520 9072 Accepted 100
56 5 0091.5 10520 9180 Accepted 100
57 5 0060.3 10520 9012 Accepted 100
58 5 0090.4 10520 9072 Accepted 100
59 5 0063.9 10520 9068 Accepted 100
60 5 0085.1 10520 9172 Accepted 100
61 5 0087.5 10520 9092 Accepted 100
62 5 0086.2 10520 9156 Accepted 100
63 5 0086.5 10520 9080 Accepted 100
64 5 0054.5 10520 9064 Accepted 100
65 5 0082.1 10520 9076 Accepted 100
66 5 0064.4 10520 9128 Accepted 100
67 5 0078.2 10520 9112 Accepted 100
68 5 0094.6 10520 9112 Accepted 100
69 5 0076.1 10520 9124 Accepted 100
70 5 0059.5 10520 8968 Accepted 100
71 5 0051.3 10520 9104 Accepted 100
72 5 0051.2 10520 9072 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.96 KB
Back to Top