Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

40532
19032
Time Limit Exceeded
78

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$ 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.5 6208 3996 Accepted 100
1 1 2 3 5 0002.6 6208 3644 Accepted 100
2 1 2 3 5 0002.5 6208 3648 Accepted 100
3 1 2 3 5 0002.6 6208 3892 Accepted 100
4 1 2 3 5 0002.5 6208 3784 Accepted 100
5 1 2 3 5 0002.5 6208 3796 Accepted 100
6 1 2 3 5 0002.6 6208 3784 Accepted 100
7 1 2 3 5 0002.7 6208 4044 Accepted 100
8 1 2 3 5 0002.7 6208 3720 Accepted 100
9 1 2 3 5 0002.6 6208 4028 Accepted 100
10 1 2 3 5 0002.7 6208 4048 Accepted 100
11 1 2 3 5 0002.6 6208 3848 Accepted 100
12 2 3 5 0002.6 6208 3684 Accepted 100
13 2 3 5 0002.4 6208 3684 Accepted 100
14 2 3 5 0002.6 6208 3784 Accepted 100
15 2 3 5 0002.6 6208 3784 Accepted 100
16 2 3 5 0002.5 6208 3800 Accepted 100
17 2 3 5 0002.4 6208 3936 Accepted 100
18 2 3 5 0003.8 6208 4020 Accepted 100
19 2 3 5 0002.7 6208 3732 Accepted 100
20 2 3 5 0003.3 6208 4092 Accepted 100
21 2 3 5 0002.9 6208 3968 Accepted 100
22 2 3 5 0003.2 6208 3724 Accepted 100
23 2 3 5 0003.3 6208 3728 Accepted 100
24 2 3 5 0003.1 6208 4016 Accepted 100
25 2 3 5 0003.4 6208 4020 Accepted 100
26 2 3 5 0003.3 6208 4072 Accepted 100
27 2 3 5 0002.8 6208 4076 Accepted 100
28 2 3 5 0002.8 6208 3876 Accepted 100
29 3 5 0006.5 6208 3968 Accepted 100
30 3 5 0005.9 6208 4084 Accepted 100
31 3 5 0006.4 6208 3752 Accepted 100
32 3 5 0006.0 6208 4012 Accepted 100
33 3 5 0008.4 6208 3968 Wrong Answer 0
34 3 5 0008.3 6208 3780 Wrong Answer 0
35 3 5 0006.2 6208 4096 Accepted 100
36 3 5 0006.5 6208 3884 Accepted 100
37 3 5 0008.3 6208 3728 Wrong Answer 0
38 3 5 0008.4 6208 3776 Wrong Answer 0
39 3 5 0005.2 6208 4008 Accepted 100
40 4 5 0006.7 7040 4344 Accepted 100
41 3 5 0004.8 6208 3880 Accepted 100
42 4 5 0723.0 21848 18828 Accepted 100
43 4 5 0672.7 21848 18788 Accepted 100
44 4 5 0952.7 21832 18860 Accepted 100
45 4 5 0963.7 21848 18832 Accepted 100
46 4 5 1020.6 21848 18724 Accepted 100
47 4 5 0882.7 21832 18876 Accepted 100
48 4 5 0843.1 21832 18752 Accepted 100
49 4 5 0861.8 21832 18828 Accepted 100
50 4 5 0841.9 21848 18816 Accepted 100
51 4 5 0525.3 20872 18068 Accepted 100
52 4 5 0673.2 21848 18816 Accepted 100
53 4 5 0560.5 21848 18820 Accepted 100
54 4 5 0537.7 21848 18720 Accepted 100
55 5 1925.6 21848 18732 Time Limit Exceeded 0
56 5 1736.0 21848 18744 Accepted 100
57 5 1958.4 21632 18800 Time Limit Exceeded 0
58 5 1793.6 21848 18828 Accepted 100
59 5 1955.6 21848 18924 Time Limit Exceeded 0
60 5 1885.2 21848 18832 Accepted 100
61 5 1952.9 21848 18820 Time Limit Exceeded 0
62 5 1863.2 21848 18832 Accepted 100
63 5 1837.2 21848 18868 Accepted 100
64 5 1930.9 21832 18812 Time Limit Exceeded 0
65 5 1856.0 21848 18760 Accepted 100
66 5 1957.2 21848 18972 Time Limit Exceeded 0
67 5 1902.4 21848 18840 Time Limit Exceeded 0
68 5 1564.1 21848 18820 Accepted 100
69 5 1987.9 21848 19032 Time Limit Exceeded 0
70 5 1976.4 21512 18640 Time Limit Exceeded 0
71 5 0110.8 21848 18788 Accepted 100
72 5 0111.0 21848 18724 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
11.2 KB
Back to Top