Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

27339
15004
Wrong Answer
22

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$ 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 0002.8 14796 3964 Accepted 100
1 1 2 3 5 0002.8 14796 4012 Accepted 100
2 1 2 3 5 0002.8 14796 4012 Accepted 100
3 1 2 3 5 0002.8 14796 3996 Accepted 100
4 1 2 3 5 0002.8 14796 3960 Accepted 100
5 1 2 3 5 0002.7 14796 3968 Accepted 100
6 1 2 3 5 0002.7 14796 4008 Accepted 100
7 1 2 3 5 0004.5 14796 3992 Accepted 100
8 1 2 3 5 0004.6 14796 3996 Accepted 100
9 1 2 3 5 0004.5 14796 4048 Accepted 100
10 1 2 3 5 0004.5 14796 4052 Accepted 100
11 1 2 3 5 0004.5 14796 3812 Accepted 100
12 2 3 5 0002.7 14796 3960 Accepted 100
13 2 3 5 0002.8 14796 3968 Accepted 100
14 2 3 5 0002.7 14796 3796 Accepted 100
15 2 3 5 0002.8 14796 3972 Accepted 100
16 2 3 5 0002.8 14796 3952 Accepted 100
17 2 3 5 0002.7 14796 3956 Accepted 100
18 2 3 5 0006.3 14796 4064 Accepted 100
19 2 3 5 0006.6 14796 4016 Accepted 100
20 2 3 5 0006.7 14796 4068 Accepted 100
21 2 3 5 0006.7 14796 3908 Accepted 100
22 2 3 5 0006.5 14796 3996 Accepted 100
23 2 3 5 0006.6 14796 4008 Accepted 100
24 2 3 5 0006.5 14796 3844 Accepted 100
25 2 3 5 0006.4 14796 3800 Accepted 100
26 2 3 5 0006.4 14796 3824 Accepted 100
27 2 3 5 0005.8 14796 3836 Accepted 100
28 2 3 5 0005.8 14796 4020 Accepted 100
29 3 5 0006.0 14796 4012 Accepted 100
30 3 5 0006.2 14796 3920 Accepted 100
31 3 5 0005.7 14796 3904 Accepted 100
32 3 5 0005.8 14796 3912 Accepted 100
33 3 5 0006.0 14796 4008 Wrong Answer 0
34 3 5 0006.1 14796 4004 Wrong Answer 0
35 3 5 0005.6 14796 4048 Accepted 100
36 3 5 0005.7 14796 3904 Accepted 100
37 3 5 0006.0 14796 3920 Wrong Answer 0
38 3 5 0005.9 14796 3912 Accepted 100
39 3 5 0006.4 14796 3780 Accepted 100
40 4 5 0040.1 14796 4332 Accepted 100
41 3 5 0006.6 14796 3832 Accepted 100
42 4 5 0885.2 14796 12608 Accepted 100
43 4 5 0896.0 14796 12528 Accepted 100
44 4 5 0891.7 14796 12444 Accepted 100
45 4 5 0887.6 14796 12372 Accepted 100
46 4 5 0909.2 14796 12436 Accepted 100
47 4 5 0894.5 14796 12376 Accepted 100
48 4 5 0906.4 14796 12600 Accepted 100
49 4 5 0886.9 14796 12360 Accepted 100
50 4 5 0929.5 14796 12440 Accepted 100
51 4 5 0701.7 15640 12836 Wrong Answer 0
52 4 5 0898.0 14796 12512 Accepted 100
53 4 5 0690.6 17196 15004 Accepted 100
54 4 5 0598.7 14928 12564 Accepted 100
55 5 0973.6 14796 12308 Accepted 100
56 5 0961.8 14796 12372 Accepted 100
57 5 0815.3 14796 12256 Accepted 100
58 5 0977.4 14796 12608 Accepted 100
59 5 0814.9 14796 12444 Accepted 100
60 5 0951.2 14796 12380 Accepted 100
61 5 0972.7 14796 12484 Accepted 100
62 5 0964.5 14796 12584 Accepted 100
63 5 0948.1 14796 12528 Accepted 100
64 5 0818.2 14796 12376 Wrong Answer 0
65 5 0943.2 14796 12444 Accepted 100
66 5 0843.4 14796 12312 Wrong Answer 0
67 5 0886.6 14796 12380 Accepted 100
68 5 0940.5 14796 12440 Accepted 100
69 5 0866.7 14796 12584 Accepted 100
70 5 0916.6 14796 12436 Wrong Answer 0
71 5 0760.3 14796 12436 Accepted 100
72 5 0766.7 14796 12584 Accepted 100
Submitter:
Compiler:
c++11
Code Length:
1.8 KB
Back to Top