Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

13643
10384
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 0~22 $N, a_i, c_i \le 3, K \le 10$ 0 / 0
3 0~46 $N \le 300$ 1 / 1
4 0~59 $N \le 2000$ 19 / 19
5 0~67 無其他限制 80 / 80

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 5 0002.2 6736 3772 Accepted 100
1 1 2 3 4 5 0002.2 6736 3820 Accepted 100
2 2 3 4 5 0002.0 6736 3760 Accepted 100
3 2 3 4 5 0001.9 6736 3968 Accepted 100
4 2 3 4 5 0001.8 6736 4032 Accepted 100
5 2 3 4 5 0002.0 6736 3916 Accepted 100
6 2 3 4 5 0001.6 6736 3912 Accepted 100
7 2 3 4 5 0001.4 6736 3844 Accepted 100
8 2 3 4 5 0001.5 6736 3864 Accepted 100
9 2 3 4 5 0001.4 6736 3840 Accepted 100
10 2 3 4 5 0001.9 6736 3972 Accepted 100
11 2 3 4 5 0001.6 6736 4012 Accepted 100
12 2 3 4 5 0001.5 6736 3952 Accepted 100
13 2 3 4 5 0001.4 6736 3972 Accepted 100
14 2 3 4 5 0001.5 6736 3912 Accepted 100
15 2 3 4 5 0001.6 6736 3968 Accepted 100
16 2 3 4 5 0001.5 6736 3948 Accepted 100
17 2 3 4 5 0001.6 6736 4024 Accepted 100
18 2 3 4 5 0001.7 6736 3964 Accepted 100
19 2 3 4 5 0001.7 6736 3972 Accepted 100
20 2 3 4 5 0001.8 6736 3964 Accepted 100
21 2 3 4 5 0001.7 6736 3848 Accepted 100
22 2 3 4 5 0001.6 6736 3964 Accepted 100
23 3 4 5 0003.6 6736 4040 Accepted 100
24 3 4 5 0004.9 6736 3996 Accepted 100
25 3 4 5 0009.2 6736 4084 Accepted 100
26 3 4 5 0006.7 6736 3996 Accepted 100
27 3 4 5 0002.5 6736 3776 Accepted 100
28 3 4 5 0002.0 6736 3984 Accepted 100
29 3 4 5 0002.9 6736 3932 Accepted 100
30 3 4 5 0004.6 6736 3984 Accepted 100
31 3 4 5 0004.6 6736 4068 Accepted 100
32 3 4 5 0009.0 6736 4076 Accepted 100
33 3 4 5 0008.1 6736 4088 Accepted 100
34 3 4 5 0006.2 6736 4008 Accepted 100
35 3 4 5 0014.7 6736 4024 Accepted 100
36 3 4 5 0015.4 6736 4092 Accepted 100
37 3 4 5 0008.3 6736 3900 Accepted 100
38 3 4 5 0017.7 6736 4036 Accepted 100
39 3 4 5 0035.0 6872 4060 Accepted 100
40 3 4 5 0015.5 6736 3820 Accepted 100
41 3 4 5 0007.8 6736 3900 Accepted 100
42 3 4 5 0044.5 6868 4076 Accepted 100
43 3 4 5 0043.0 6868 4072 Accepted 100
44 3 4 5 0042.9 6868 4092 Accepted 100
45 3 4 5 0040.4 6868 4088 Accepted 100
46 3 4 5 0001.8 6736 3764 Accepted 100
47 4 5 0100.9 7192 4392 Accepted 100
48 4 5 0019.2 6876 4108 Accepted 100
49 4 5 0101.6 7196 4140 Accepted 100
50 4 5 0037.2 6872 4192 Accepted 100
51 4 5 0071.4 7172 4344 Accepted 100
52 4 5 0073.5 6868 4188 Accepted 100
53 4 5 0063.4 6868 4212 Accepted 100
54 4 5 0131.8 7204 4360 Accepted 100
55 4 5 0132.1 7272 4432 Accepted 100
56 4 5 0129.7 7204 4352 Accepted 100
57 4 5 0128.7 7296 4432 Accepted 100
58 4 5 0148.0 7296 4412 Accepted 100
59 4 5 0147.4 7296 4292 Accepted 100
60 5 0605.4 8560 5548 Accepted 100
61 5 0606.7 8400 5284 Accepted 100
62 5 0274.1 7620 4484 Accepted 100
63 5 1296.2 10648 7548 Accepted 100
64 5 1340.9 9988 6864 Accepted 100
65 5 2599.8 13432 10384 Accepted 100
66 5 2645.4 13432 10284 Accepted 100
67 5 2598.6 13432 10380 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.7 KB
Back to Top