Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

19207
15876
Wrong Answer
56

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$ 56 / 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.8 19328 3952 Accepted 100
1 1 2 3 5 0002.7 19328 4020 Accepted 100
2 1 2 3 5 0002.7 19328 3860 Accepted 100
3 1 2 3 5 0002.6 19328 3932 Accepted 100
4 1 2 3 5 0002.7 19328 3804 Accepted 100
5 1 2 3 5 0002.5 19328 3812 Wrong Answer 0
6 1 2 3 5 0002.7 19328 3812 Accepted 100
7 1 2 3 5 0003.6 19328 3864 Accepted 100
8 1 2 3 5 0003.6 19328 3968 Accepted 100
9 1 2 3 5 0003.6 19328 3928 Accepted 100
10 1 2 3 5 0002.6 19328 3824 Accepted 100
11 1 2 3 5 0002.7 19328 4044 Accepted 100
12 2 3 5 0002.7 19328 3832 Accepted 100
13 2 3 5 0002.6 19328 3952 Accepted 100
14 2 3 5 0002.6 19328 3952 Accepted 100
15 2 3 5 0002.6 19328 4020 Accepted 100
16 2 3 5 0002.6 19328 3808 Accepted 100
17 2 3 5 0002.5 19328 3836 Accepted 100
18 2 3 5 0004.9 19328 3972 Accepted 100
19 2 3 5 0004.5 19328 3852 Accepted 100
20 2 3 5 0004.9 19328 3892 Accepted 100
21 2 3 5 0004.7 19328 4040 Accepted 100
22 2 3 5 0005.1 19328 3916 Accepted 100
23 2 3 5 0004.9 19328 3900 Accepted 100
24 2 3 5 0005.0 19328 3968 Accepted 100
25 2 3 5 0005.2 19328 4032 Accepted 100
26 2 3 5 0004.9 19328 4076 Accepted 100
27 2 3 5 0002.8 19328 4000 Accepted 100
28 2 3 5 0002.9 19328 4004 Accepted 100
29 3 5 0006.3 19328 3976 Accepted 100
30 3 5 0006.1 19328 3888 Accepted 100
31 3 5 0006.4 19328 3972 Accepted 100
32 3 5 0006.5 19328 3968 Accepted 100
33 3 5 0006.8 19328 4008 Accepted 100
34 3 5 0006.9 19328 4036 Accepted 100
35 3 5 0006.2 19328 3912 Accepted 100
36 3 5 0006.5 19328 4080 Accepted 100
37 3 5 0006.8 19328 4012 Accepted 100
38 3 5 0006.9 19328 3892 Accepted 100
39 3 5 0005.8 19328 3976 Accepted 100
40 4 5 0004.8 19328 4608 Accepted 100
41 3 5 0005.4 19328 3860 Accepted 100
42 4 5 0448.9 19328 15616 Accepted 100
43 4 5 0431.8 19328 15516 Accepted 100
44 4 5 0474.5 19328 15504 Accepted 100
45 4 5 0516.4 19328 15676 Accepted 100
46 4 5 0514.2 19328 15632 Accepted 100
47 4 5 0472.8 19328 15616 Accepted 100
48 4 5 0458.4 19328 15720 Accepted 100
49 4 5 0444.4 19328 15656 Accepted 100
50 4 5 0499.1 19328 15660 Accepted 100
51 4 5 0042.2 19724 15336 Accepted 100
52 4 5 0431.7 19328 15536 Accepted 100
53 4 5 0045.3 19724 15876 Accepted 100
54 4 5 0048.1 19328 15632 Accepted 100
55 5 0892.2 19328 15504 Accepted 100
56 5 0792.7 19328 15556 Accepted 100
57 5 0906.8 19328 15464 Accepted 100
58 5 0864.9 19328 15544 Accepted 100
59 5 0937.0 19328 15652 Accepted 100
60 5 0857.0 19328 15536 Accepted 100
61 5 0898.0 19328 15620 Accepted 100
62 5 0907.5 19328 15644 Accepted 100
63 5 0876.6 19328 15620 Accepted 100
64 5 0921.7 19328 15528 Accepted 100
65 5 0815.2 19328 15636 Accepted 100
66 5 0938.3 19328 15720 Accepted 100
67 5 0889.3 19328 15620 Accepted 100
68 5 0780.4 19328 15628 Accepted 100
69 5 0912.6 19328 15504 Accepted 100
70 5 0915.3 19328 15308 Accepted 100
71 5 0046.7 19328 15608 Accepted 100
72 5 0046.1 19328 15520 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
5.78 KB
Back to Top