Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

5024
10524
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 (KiB) Verdict Score
0 1 2 3 5 0 1096 Accepted 100
1 1 2 3 5 0 1192 Accepted 100
2 1 2 3 5 0 1248 Accepted 100
3 1 2 3 5 0 1188 Accepted 100
4 1 2 3 5 0 1100 Accepted 100
5 1 2 3 5 0 1088 Accepted 100
6 1 2 3 5 0 1188 Accepted 100
7 1 2 3 5 0 1208 Accepted 100
8 1 2 3 5 0 1120 Accepted 100
9 1 2 3 5 0 1200 Accepted 100
10 1 2 3 5 0 1192 Accepted 100
11 1 2 3 5 0 1200 Accepted 100
12 2 3 5 0 1108 Accepted 100
13 2 3 5 0 1148 Accepted 100
14 2 3 5 0 1112 Accepted 100
15 2 3 5 0 1200 Accepted 100
16 2 3 5 0 1108 Accepted 100
17 2 3 5 0 1196 Accepted 100
18 2 3 5 0 1152 Accepted 100
19 2 3 5 0 1188 Accepted 100
20 2 3 5 0 1140 Accepted 100
21 2 3 5 0 1188 Accepted 100
22 2 3 5 0 1152 Accepted 100
23 2 3 5 0 1216 Accepted 100
24 2 3 5 0 1188 Accepted 100
25 2 3 5 0 1252 Accepted 100
26 2 3 5 0 1160 Accepted 100
27 2 3 5 0 1168 Accepted 100
28 2 3 5 0 1196 Accepted 100
29 3 5 0 1252 Accepted 100
30 3 5 0 1188 Accepted 100
31 3 5 0 1200 Accepted 100
32 3 5 0 1152 Accepted 100
33 3 5 0 1196 Accepted 100
34 3 5 0 1192 Accepted 100
35 3 5 0 1144 Accepted 100
36 3 5 0 1112 Accepted 100
37 3 5 0 1256 Accepted 100
38 3 5 0 1244 Accepted 100
39 3 5 0 1144 Accepted 100
40 4 5 0 1384 Accepted 100
41 3 5 0 1192 Accepted 100
42 4 5 176 5924 Accepted 100
43 4 5 172 5888 Accepted 100
44 4 5 172 5948 Accepted 100
45 4 5 176 5848 Accepted 100
46 4 5 172 5928 Accepted 100
47 4 5 172 5860 Accepted 100
48 4 5 176 5888 Accepted 100
49 4 5 172 5872 Accepted 100
50 4 5 176 5852 Accepted 100
51 4 5 4 5576 Accepted 100
52 4 5 176 5844 Accepted 100
53 4 5 4 5856 Accepted 100
54 4 5 8 5864 Accepted 100
55 5 200 7464 Accepted 100
56 5 200 7004 Accepted 100
57 5 224 10272 Accepted 100
58 5 204 7232 Accepted 100
59 5 196 9872 Accepted 100
60 5 196 7888 Accepted 100
61 5 200 7600 Accepted 100
62 5 200 7884 Accepted 100
63 5 200 7792 Accepted 100
64 5 216 10524 Accepted 100
65 5 196 8280 Accepted 100
66 5 228 10148 Accepted 100
67 5 196 8712 Accepted 100
68 5 192 6316 Accepted 100
69 5 192 9268 Accepted 100
70 5 220 10276 Accepted 100
71 5 4 5852 Accepted 100
72 5 4 5856 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.78 KB
Back to Top