2022 全國模擬賽題目上線啦 !!!!! 題目在
這裡~
2023 全國模擬賽題目上線啦 !!!!! 題目在
這裡~
2024 全國模擬賽題目上線啦 !!!!! 題目在
這裡~
Back to Submissions List
Problem
Total Time (ms)
Score
Subtask Results
Subtask no. |
Testdata Range |
Constraints |
Score |
1 |
0~2 |
範例測資 |
0 / 0
|
2 |
0~32 |
$N \leq 20$ |
15 / 15
|
3 |
0~72 |
$N \leq 2000$ |
16 / 16
|
4 |
0~132 |
無額外限制 |
69 / 69
|
Testdata Results
Testdata no. |
Subtasks |
Time (ms) |
Memory (VSS, KiB) |
Memory (RSS, KiB) |
Verdict |
Score |
|
0 |
1
2
3
4
|
0003.6 |
6216 |
Accepted |
100 |
|
|
1 |
1
2
3
4
|
0002.9 |
6216 |
Accepted |
100 |
|
|
2 |
1
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
3 |
2
3
4
|
0003.0 |
6216 |
Accepted |
100 |
|
|
4 |
2
3
4
|
0003.2 |
6216 |
Accepted |
100 |
|
|
5 |
2
3
4
|
0002.9 |
6216 |
Accepted |
100 |
|
|
6 |
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
7 |
2
3
4
|
0003.0 |
6216 |
Accepted |
100 |
|
|
8 |
2
3
4
|
0002.9 |
6216 |
Accepted |
100 |
|
|
9 |
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
10 |
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
11 |
2
3
4
|
0002.8 |
6216 |
Accepted |
100 |
|
|
12 |
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
13 |
2
3
4
|
0003.0 |
6216 |
Accepted |
100 |
|
|
14 |
2
3
4
|
0002.9 |
6216 |
Accepted |
100 |
|
|
15 |
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
16 |
2
3
4
|
0003.2 |
6216 |
Accepted |
100 |
|
|
17 |
2
3
4
|
0002.9 |
6216 |
Accepted |
100 |
|
|
18 |
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
19 |
2
3
4
|
0002.9 |
6216 |
Accepted |
100 |
|
|
20 |
2
3
4
|
0003.0 |
6216 |
Accepted |
100 |
|
|
21 |
2
3
4
|
0003.0 |
6216 |
Accepted |
100 |
|
|
22 |
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
23 |
2
3
4
|
0003.0 |
6216 |
Accepted |
100 |
|
|
24 |
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
25 |
2
3
4
|
0002.9 |
6216 |
Accepted |
100 |
|
|
26 |
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
27 |
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
28 |
2
3
4
|
0002.9 |
6216 |
Accepted |
100 |
|
|
29 |
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
30 |
2
3
4
|
0003.2 |
6216 |
Accepted |
100 |
|
|
31 |
2
3
4
|
0003.1 |
6216 |
Accepted |
100 |
|
|
32 |
2
3
4
|
0003.7 |
6216 |
Accepted |
100 |
|
|
33 |
3
4
|
0004.6 |
6216 |
Accepted |
100 |
|
|
34 |
3
4
|
0007.9 |
6356 |
Accepted |
100 |
|
|
35 |
3
4
|
0005.8 |
6348 |
Accepted |
100 |
|
|
36 |
3
4
|
0010.3 |
6352 |
Accepted |
100 |
|
|
37 |
3
4
|
0008.5 |
6352 |
Accepted |
100 |
|
|
38 |
3
4
|
0009.8 |
6460 |
Accepted |
100 |
|
|
39 |
3
4
|
0003.4 |
6216 |
Accepted |
100 |
|
|
40 |
3
4
|
0009.0 |
6352 |
Accepted |
100 |
|
|
41 |
3
4
|
0010.2 |
6460 |
Accepted |
100 |
|
|
42 |
3
4
|
0008.4 |
6352 |
Accepted |
100 |
|
|
43 |
3
4
|
0003.8 |
6216 |
Accepted |
100 |
|
|
44 |
3
4
|
0006.5 |
6388 |
Accepted |
100 |
|
|
45 |
3
4
|
0007.5 |
6352 |
Accepted |
100 |
|
|
46 |
3
4
|
0004.2 |
6216 |
Accepted |
100 |
|
|
47 |
3
4
|
0003.3 |
6216 |
Accepted |
100 |
|
|
48 |
3
4
|
0004.5 |
6216 |
Accepted |
100 |
|
|
49 |
3
4
|
0008.9 |
6352 |
Accepted |
100 |
|
|
50 |
3
4
|
0015.9 |
6352 |
Accepted |
100 |
|
|
51 |
3
4
|
0006.0 |
6216 |
Accepted |
100 |
|
|
52 |
3
4
|
0007.0 |
6356 |
Accepted |
100 |
|
|
53 |
3
4
|
0006.8 |
6348 |
Accepted |
100 |
|
|
54 |
3
4
|
0009.5 |
6352 |
Accepted |
100 |
|
|
55 |
3
4
|
0009.1 |
6352 |
Accepted |
100 |
|
|
56 |
3
4
|
0005.2 |
6216 |
Accepted |
100 |
|
|
57 |
3
4
|
0012.0 |
6352 |
Accepted |
100 |
|
|
58 |
3
4
|
0009.4 |
6352 |
Accepted |
100 |
|
|
59 |
3
4
|
0013.6 |
6360 |
Accepted |
100 |
|
|
60 |
3
4
|
0009.5 |
6352 |
Accepted |
100 |
|
|
61 |
3
4
|
0006.8 |
6216 |
Accepted |
100 |
|
|
62 |
3
4
|
0003.4 |
6216 |
Accepted |
100 |
|
|
63 |
3
4
|
0010.2 |
6460 |
Accepted |
100 |
|
|
64 |
3
4
|
0007.5 |
6352 |
Accepted |
100 |
|
|
65 |
3
4
|
0003.3 |
6216 |
Accepted |
100 |
|
|
66 |
3
4
|
0014.9 |
6352 |
Accepted |
100 |
|
|
67 |
3
4
|
0011.9 |
6352 |
Accepted |
100 |
|
|
68 |
3
4
|
0013.4 |
6352 |
Accepted |
100 |
|
|
69 |
3
4
|
0010.7 |
6352 |
Accepted |
100 |
|
|
70 |
3
4
|
0017.0 |
6352 |
Accepted |
100 |
|
|
71 |
3
4
|
0003.2 |
6216 |
Accepted |
100 |
|
|
72 |
3
4
|
0008.0 |
6348 |
Accepted |
100 |
|
|
73 |
4
|
0571.9 |
17344 |
Accepted |
100 |
|
|
74 |
4
|
0140.6 |
8940 |
Accepted |
100 |
|
|
75 |
4
|
0803.9 |
18356 |
Accepted |
100 |
|
|
76 |
4
|
1250.2 |
18256 |
Accepted |
100 |
|
|
77 |
4
|
0789.7 |
17344 |
Accepted |
100 |
|
|
78 |
4
|
0679.7 |
18344 |
Accepted |
100 |
|
|
79 |
4
|
0343.5 |
12400 |
Accepted |
100 |
|
|
80 |
4
|
0288.8 |
12120 |
Accepted |
100 |
|
|
81 |
4
|
1042.0 |
18356 |
Accepted |
100 |
|
|
82 |
4
|
0689.5 |
17344 |
Accepted |
100 |
|
|
83 |
4
|
0626.4 |
17344 |
Accepted |
100 |
|
|
84 |
4
|
0108.8 |
8988 |
Accepted |
100 |
|
|
85 |
4
|
0122.1 |
8600 |
Accepted |
100 |
|
|
86 |
4
|
0359.0 |
12260 |
Accepted |
100 |
|
|
87 |
4
|
0597.7 |
18356 |
Accepted |
100 |
|
|
88 |
4
|
0538.7 |
17344 |
Accepted |
100 |
|
|
89 |
4
|
0293.3 |
11848 |
Accepted |
100 |
|
|
90 |
4
|
0731.1 |
18356 |
Accepted |
100 |
|
|
91 |
4
|
0223.3 |
11688 |
Accepted |
100 |
|
|
92 |
4
|
0751.7 |
17884 |
Accepted |
100 |
|
|
93 |
4
|
0776.7 |
17344 |
Accepted |
100 |
|
|
94 |
4
|
0564.8 |
18356 |
Accepted |
100 |
|
|
95 |
4
|
0686.4 |
18356 |
Accepted |
100 |
|
|
96 |
4
|
0614.2 |
18356 |
Accepted |
100 |
|
|
97 |
4
|
0203.0 |
11648 |
Accepted |
100 |
|
|
98 |
4
|
0689.4 |
18356 |
Accepted |
100 |
|
|
99 |
4
|
0551.3 |
18356 |
Accepted |
100 |
|
|
100 |
4
|
0686.4 |
18356 |
Accepted |
100 |
|
|
101 |
4
|
0041.9 |
6932 |
Accepted |
100 |
|
|
102 |
4
|
0106.6 |
8980 |
Accepted |
100 |
|
|
103 |
4
|
0522.6 |
18356 |
Accepted |
100 |
|
|
104 |
4
|
0518.7 |
16308 |
Accepted |
100 |
|
|
105 |
4
|
0295.8 |
12184 |
Accepted |
100 |
|
|
106 |
4
|
0565.4 |
18356 |
Accepted |
100 |
|
|
107 |
4
|
0571.6 |
17344 |
Accepted |
100 |
|
|
108 |
4
|
0872.3 |
18356 |
Accepted |
100 |
|
|
109 |
4
|
0580.1 |
18356 |
Accepted |
100 |
|
|
110 |
4
|
0624.1 |
16844 |
Accepted |
100 |
|
|
111 |
4
|
0576.6 |
16628 |
Accepted |
100 |
|
|
112 |
4
|
0516.3 |
16308 |
Accepted |
100 |
|
|
113 |
4
|
0218.2 |
12320 |
Accepted |
100 |
|
|
114 |
4
|
0517.9 |
15188 |
Accepted |
100 |
|
|
115 |
4
|
0359.8 |
12608 |
Accepted |
100 |
|
|
116 |
4
|
0339.0 |
16308 |
Accepted |
100 |
|
|
117 |
4
|
0976.3 |
18356 |
Accepted |
100 |
|
|
118 |
4
|
1177.4 |
18356 |
Accepted |
100 |
|
|
119 |
4
|
0024.6 |
6800 |
Accepted |
100 |
|
|
120 |
4
|
0175.4 |
9392 |
Accepted |
100 |
|
|
121 |
4
|
0045.4 |
6936 |
Accepted |
100 |
|
|
122 |
4
|
0511.7 |
17636 |
Accepted |
100 |
|
|
123 |
4
|
0517.2 |
17164 |
Accepted |
100 |
|
|
124 |
4
|
0036.4 |
6924 |
Accepted |
100 |
|
|
125 |
4
|
0761.3 |
18356 |
Accepted |
100 |
|
|
126 |
4
|
1129.6 |
18356 |
Accepted |
100 |
|
|
127 |
4
|
0485.6 |
15508 |
Accepted |
100 |
|
|
128 |
4
|
1025.8 |
17920 |
Accepted |
100 |
|
|
129 |
4
|
0424.9 |
15416 |
Accepted |
100 |
|
|
130 |
4
|
0731.8 |
18044 |
Accepted |
100 |
|
|
131 |
4
|
1074.2 |
18356 |
Accepted |
100 |
|
|
132 |
4
|
0094.2 |
7824 |
Accepted |
100 |
|
|
Submitter:
Compiler:
c++17
Code Length:
2.24 KB
Back to Top