Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

19032
16308
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~41 $N \leq 1000, k \leq 1000$ 0 / 32
4 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 (KiB) Verdict Score
0 1 2 3 5 0 3432 Accepted 100
1 1 2 3 5 0 3472 Accepted 100
2 1 2 3 5 0 3324 Accepted 100
3 1 2 3 5 0 3532 Accepted 100
4 1 2 3 5 0 3472 Accepted 100
5 1 2 3 5 0 3464 Wrong Answer 0
6 1 2 3 5 0 3464 Accepted 100
7 1 2 3 5 0 3476 Accepted 100
8 1 2 3 5 0 3500 Accepted 100
9 1 2 3 5 0 3376 Accepted 100
10 1 2 3 5 0 3448 Accepted 100
11 1 2 3 5 0 3468 Accepted 100
12 2 3 5 0 3448 Accepted 100
13 2 3 5 0 3424 Accepted 100
14 2 3 5 0 3440 Accepted 100
15 2 3 5 0 3472 Accepted 100
16 2 3 5 0 3464 Accepted 100
17 2 3 5 0 3328 Accepted 100
18 2 3 5 4 3480 Accepted 100
19 2 3 5 4 3372 Accepted 100
20 2 3 5 4 3400 Accepted 100
21 2 3 5 4 3396 Accepted 100
22 2 3 5 4 3512 Accepted 100
23 2 3 5 4 3556 Accepted 100
24 2 3 5 4 3532 Accepted 100
25 2 3 5 4 3416 Accepted 100
26 2 3 5 4 3388 Accepted 100
27 2 3 5 0 3384 Accepted 100
28 2 3 5 0 3524 Accepted 100
29 3 5 4 3524 Accepted 100
30 3 5 4 3720 Accepted 100
31 3 5 4 3616 Accepted 100
32 3 5 4 3560 Accepted 100
33 3 5 4 3664 Accepted 100
34 3 5 4 3620 Accepted 100
35 3 5 4 3512 Accepted 100
36 3 5 4 3496 Accepted 100
37 3 5 4 3548 Accepted 100
38 3 5 4 3512 Accepted 100
39 3 5 4 3624 Accepted 100
40 3 5 4 4056 Accepted 100
41 3 5 4 3484 Accepted 100
42 4 5 432 15312 Accepted 100
43 4 5 380 15208 Accepted 100
44 4 5 484 15156 Accepted 100
45 4 5 452 15224 Accepted 100
46 4 5 484 15304 Accepted 100
47 4 5 436 15140 Accepted 100
48 4 5 420 15228 Accepted 100
49 4 5 456 15220 Accepted 100
50 4 5 460 15160 Accepted 100
51 4 5 40 15276 Accepted 100
52 4 5 380 15188 Accepted 100
53 4 5 40 16108 Accepted 100
54 4 5 48 16308 Accepted 100
55 5 900 15368 Accepted 100
56 5 824 15308 Accepted 100
57 5 972 15220 Accepted 100
58 5 884 15308 Accepted 100
59 5 948 15312 Accepted 100
60 5 876 15224 Accepted 100
61 5 904 15364 Accepted 100
62 5 892 15368 Accepted 100
63 5 860 15372 Accepted 100
64 5 960 15196 Accepted 100
65 5 840 15368 Accepted 100
66 5 984 15372 Accepted 100
67 5 884 15308 Accepted 100
68 5 724 15236 Accepted 100
69 5 920 15236 Accepted 100
70 5 964 14904 Accepted 100
71 5 48 15140 Accepted 100
72 5 48 15140 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
5.78 KB
Back to Top