Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Teams
Sign in
Sign up
×
Close
IOIC 2025 題目已公開!
連結
程式解題社網站
程式解題社網站
上線了!
NTUCPC OJ 現在支援 Rust !
NTUCPCPC 2026 初賽 & 決賽題目已公開!
連結
YTP 2026 題目已公開!
連結
1460 . 巴已己大公司問題
Submit
Status
Discussion / Solution
Ranklist
Back to Problems List
TopCoder
暴力又被TLE
PY派對
User's AC Ratio
94.1% (
16/17
)
Submission's AC Ratio
25.4% (
17
/
67
)
Tags
Show solution-related tags
ntucpcpc
ntucpcpc-2026
Description
題目 PDF 檔在這裡
Input Format
Output Format
Sample Input 1
copy
6 7 1 2 3 4 3 ? 5 6 ? 1 6 * 4 ? 5 6 * 2 ? 1 6 ? 1 1
Sample Output 1
copy
4 4 3 3 1
Hints
Problem Source
Subtasks
No.
Testdata Range
Score
Testdata and Limits
No.
Time Limit (ms)
Memory Limit (VSS, KiB)
Output Limit (KiB)
Subtasks
0
2000
2097152
65536
1
2000
2097152
65536
2
2000
2097152
65536
3
2000
2097152
65536
4
2000
2097152
65536
5
2000
2097152
65536
6
2000
2097152
65536
7
2000
2097152
65536
8
2000
2097152
65536
9
2000
2097152
65536
10
2000
2097152
65536
11
2000
2097152
65536
12
2000
2097152
65536
13
2000
2097152
65536
14
2000
2097152
65536
15
2000
2097152
65536
16
2000
2097152
65536
17
2000
2097152
65536
18
2000
2097152
65536
19
2000
2097152
65536
20
2000
2097152
65536
21
2000
2097152
65536
22
2000
2097152
65536
23
2000
2097152
65536
24
2000
2097152
65536
25
2000
2097152
65536
26
2000
2097152
65536
27
2000
2097152
65536
28
2000
2097152
65536
29
2000
2097152
65536
30
2000
2097152
65536
31
2000
2097152
65536
Submit
Back to Top