Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

13419
15728
Runtime Error
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 0002.7 19336 3820 Accepted 100
1 1 2 3 5 0002.7 19336 3952 Accepted 100
2 1 2 3 5 0002.8 19336 3864 Accepted 100
3 1 2 3 5 0002.7 19336 3984 Accepted 100
4 1 2 3 5 0002.7 19336 3980 Accepted 100
5 1 2 3 5 0002.6 19336 3952 Accepted 100
6 1 2 3 5 0002.7 19336 3664 Runtime Error 0
7 1 2 3 5 0003.5 19336 3832 Accepted 100
8 1 2 3 5 0003.5 19336 3984 Accepted 100
9 1 2 3 5 0003.3 19336 3872 Accepted 100
10 1 2 3 5 0002.8 19336 3980 Accepted 100
11 1 2 3 5 0002.8 19336 3976 Accepted 100
12 2 3 5 0002.7 19336 3700 Runtime Error 0
13 2 3 5 0002.8 19336 3984 Accepted 100
14 2 3 5 0002.8 19336 4020 Accepted 100
15 2 3 5 0002.7 19336 3816 Accepted 100
16 2 3 5 0002.7 19336 3960 Accepted 100
17 2 3 5 0002.7 19336 3776 Accepted 100
18 2 3 5 0004.0 19336 3920 Accepted 100
19 2 3 5 0003.8 19336 3996 Accepted 100
20 2 3 5 0004.1 19336 3976 Accepted 100
21 2 3 5 0003.9 19336 3900 Accepted 100
22 2 3 5 0003.9 19336 3908 Accepted 100
23 2 3 5 0004.1 19336 4080 Accepted 100
24 2 3 5 0004.0 19336 4044 Accepted 100
25 2 3 5 0003.9 19336 3976 Accepted 100
26 2 3 5 0004.2 19336 3876 Accepted 100
27 2 3 5 0002.9 19336 4080 Accepted 100
28 2 3 5 0002.8 19336 4084 Accepted 100
29 3 5 0005.1 19336 3992 Runtime Error 0
30 3 5 0005.1 19336 3800 Runtime Error 0
31 3 5 0005.0 19336 3616 Runtime Error 0
32 3 5 0005.0 19336 3636 Runtime Error 0
33 3 5 0005.0 19336 3832 Runtime Error 0
34 3 5 0005.1 19336 3988 Runtime Error 0
35 3 5 0004.9 19336 3872 Runtime Error 0
36 3 5 0005.1 19336 3752 Runtime Error 0
37 3 5 0004.9 19336 3868 Runtime Error 0
38 3 5 0005.0 19336 3812 Runtime Error 0
39 3 5 0005.0 19336 4012 Accepted 100
40 4 5 0026.7 19336 4388 Runtime Error 0
41 3 5 0004.7 19336 3972 Accepted 100
42 4 5 0262.9 19336 15516 Accepted 100
43 4 5 0248.0 19336 15728 Accepted 100
44 4 5 0265.1 19336 15656 Accepted 100
45 4 5 0334.8 19336 15660 Accepted 100
46 4 5 0311.3 19336 15624 Accepted 100
47 4 5 0262.6 19336 15512 Accepted 100
48 4 5 0259.9 19336 15508 Accepted 100
49 4 5 0288.7 19336 15724 Accepted 100
50 4 5 0292.2 19336 15684 Accepted 100
51 4 5 0403.9 19336 14764 Runtime Error 0
52 4 5 0246.6 19336 15524 Accepted 100
53 4 5 0439.9 19336 15376 Runtime Error 0
54 4 5 0448.7 19336 15472 Runtime Error 0
55 5 0579.0 19336 15556 Runtime Error 0
56 5 0579.9 19336 15400 Runtime Error 0
57 5 0544.5 19336 15316 Runtime Error 0
58 5 0577.3 19336 15552 Runtime Error 0
59 5 0570.0 19336 15468 Runtime Error 0
60 5 0572.5 19336 15312 Runtime Error 0
61 5 0578.1 19336 15464 Runtime Error 0
62 5 0574.7 19336 15388 Runtime Error 0
63 5 0573.8 19336 15456 Runtime Error 0
64 5 0540.0 19336 15508 Runtime Error 0
65 5 0571.6 19336 15404 Runtime Error 0
66 5 0549.2 19336 15456 Runtime Error 0
67 5 0572.4 19336 15552 Runtime Error 0
68 5 0584.2 19336 15412 Runtime Error 0
69 5 0570.5 19336 15388 Runtime Error 0
70 5 0541.7 19336 15188 Runtime Error 0
71 5 0048.0 19336 15684 Accepted 100
72 5 0048.0 19336 15608 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.52 KB
Back to Top