Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
2002
已修正限制並 rejudge
2024 全國賽
(除了D) 已公開!
2423 . G. 實境節目 (Television)
Submit
Status
Discussion / Solution
Ranklist
Back to Problems List
TopCoder
C0DET1GER
有人要教我怎麼進選訓嗎
User's AC Ratio
100.0% (
5/5
)
Submission's AC Ratio
35.3% (
6
/
17
)
Tags
Show solution-related tags
全國賽
2024-全國賽
nhspc113
Description
題目 PDF 檔在這裡
Input Format
Output Format
Sample Input 1
copy
2 2 1 2
Sample Output 1
copy
72
Sample Input 2
copy
3 5 7 6 9
Sample Output 2
copy
6928820
Hints
Problem Source
113 學年度全國資訊學科能力競賽
測資來源:
TWPCA GitHub
Subtasks
No.
Testdata Range
Constraints
Score
1
0~1
範例測資
0
2
2~4
$t = 0$
4
3
2~8
$t \leq 1$
9
4
0, 2~12
$t \leq 2$
22
5
0~16
無額外限制
65
Testdata and Limits
No.
Time Limit (ms)
Memory Limit (VSS, KiB)
Output Limit (KiB)
Subtasks
0
1000
1048576
65536
1
4
5
1
1000
1048576
65536
1
5
2
1000
1048576
65536
2
3
4
5
3
1000
1048576
65536
2
3
4
5
4
1000
1048576
65536
2
3
4
5
5
1000
1048576
65536
3
4
5
6
1000
1048576
65536
3
4
5
7
1000
1048576
65536
3
4
5
8
1000
1048576
65536
3
4
5
9
1000
1048576
65536
4
5
10
1000
1048576
65536
4
5
11
1000
1048576
65536
4
5
12
1000
1048576
65536
4
5
13
1000
1048576
65536
5
14
1000
1048576
65536
5
15
1000
1048576
65536
5
16
1000
1048576
65536
5
Submit
Back to Top