Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

20818
14688
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 0034.7 39024 11916 Accepted 100
1 1 2 3 4 5 0035.2 39024 11776 Accepted 100
2 2 3 4 5 0035.3 39024 11808 Accepted 100
3 2 3 4 5 0034.1 39024 11792 Accepted 100
4 2 3 4 5 0035.2 39024 11796 Accepted 100
5 2 3 4 5 0034.8 39024 11804 Accepted 100
6 2 3 4 5 0019.0 39024 11816 Accepted 100
7 2 3 4 5 0034.5 39024 11800 Accepted 100
8 2 3 4 5 0019.2 39024 11804 Accepted 100
9 2 3 4 5 0035.3 39024 11800 Accepted 100
10 2 3 4 5 0035.7 39024 11668 Accepted 100
11 2 3 4 5 0035.2 39024 11792 Accepted 100
12 2 3 4 5 0035.4 39024 11672 Accepted 100
13 2 3 4 5 0033.8 39024 11820 Accepted 100
14 2 3 4 5 0035.1 39024 11804 Accepted 100
15 2 3 4 5 0035.0 39024 11756 Accepted 100
16 2 3 4 5 0019.3 39024 11796 Accepted 100
17 2 3 4 5 0035.2 39024 11744 Accepted 100
18 2 3 4 5 0036.1 39024 11808 Accepted 100
19 2 3 4 5 0034.1 39024 11792 Accepted 100
20 2 3 4 5 0034.2 39024 11808 Accepted 100
21 2 3 4 5 0036.2 39024 11796 Accepted 100
22 2 3 4 5 0034.9 39024 11812 Accepted 100
23 3 4 5 0020.8 39024 11680 Accepted 100
24 3 4 5 0037.6 39024 11820 Accepted 100
25 3 4 5 0041.5 39024 11824 Accepted 100
26 3 4 5 0037.5 39024 11808 Accepted 100
27 3 4 5 0036.2 39024 11728 Accepted 100
28 3 4 5 0020.1 39024 11796 Accepted 100
29 3 4 5 0037.6 39024 11932 Accepted 100
30 3 4 5 0038.9 39024 11816 Accepted 100
31 3 4 5 0037.9 39024 11804 Accepted 100
32 3 4 5 0041.5 39024 11956 Accepted 100
33 3 4 5 0026.9 39024 11760 Accepted 100
34 3 4 5 0040.5 39024 11804 Accepted 100
35 3 4 5 0052.1 39024 11948 Accepted 100
36 3 4 5 0051.8 39024 11824 Accepted 100
37 3 4 5 0044.8 39024 11816 Accepted 100
38 3 4 5 0049.3 39024 11784 Accepted 100
39 3 4 5 0072.4 39024 11848 Accepted 100
40 3 4 5 0052.3 39024 11840 Accepted 100
41 3 4 5 0026.4 39024 11844 Accepted 100
42 3 4 5 0074.3 39024 11852 Accepted 100
43 3 4 5 0070.9 39024 11852 Accepted 100
44 3 4 5 0074.3 39024 11856 Accepted 100
45 3 4 5 0072.5 39024 11856 Accepted 100
46 3 4 5 0020.2 39024 11820 Accepted 100
47 4 5 0131.6 39164 12008 Accepted 100
48 4 5 0046.5 39024 11872 Accepted 100
49 4 5 0129.0 39168 11968 Accepted 100
50 4 5 0056.2 39156 11900 Accepted 100
51 4 5 0121.1 39160 12008 Accepted 100
52 4 5 0112.6 39160 11916 Accepted 100
53 4 5 0120.6 39160 11916 Accepted 100
54 4 5 0160.3 39156 11972 Accepted 100
55 4 5 0215.8 39296 12016 Accepted 100
56 4 5 0193.4 39156 12028 Accepted 100
57 4 5 0200.3 39300 12060 Accepted 100
58 4 5 0200.8 39300 12040 Accepted 100
59 4 5 0199.3 39300 12064 Accepted 100
60 5 0869.4 39924 12400 Accepted 100
61 5 0892.1 39848 12396 Accepted 100
62 5 0270.1 39496 12168 Accepted 100
63 5 1987.7 41048 13488 Accepted 100
64 5 1984.7 40664 13008 Accepted 100
65 5 4111.7 42260 14560 Accepted 100
66 5 2789.0 42260 14588 Accepted 100
67 5 4189.7 42260 14688 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
9.38 KB
Back to Top