Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
關於傳送結果
請點我
問題回報/許願
表單連結
424 . 霖澤黑森林
Submit
Status
Discussion / Solution
Ranklist
Back to Problems List
TopCoder
164253
User's AC Ratio
100.0% (
16/16
)
Submission's AC Ratio
88.2% (
30
/
34
)
Tags
Show solution-related tags
Algo
Algo25_a
Description
Input Format
Output Format
Sample Input 1
copy
2
-1 1
Sample Output 1
copy
lose light light
Sample Input 2
copy
8
1 2 1 -1 1 -1 -2 -1
Sample Output 2
copy
weed
Hints
Problem Source
NEOJ Problem 512
Subtasks
No.
Testdata Range
Constraints
Score
1
0~17
100
Testdata and Limits
No.
Time Limit (ms)
Memory Limit (VSS, KiB)
Output Limit (KiB)
Subtasks
0
1000
262144
65536
1
1
1000
262144
65536
1
2
1000
262144
65536
1
3
1000
262144
65536
1
4
1000
262144
65536
1
5
1000
262144
65536
1
6
1000
262144
65536
1
7
1000
262144
65536
1
8
1000
262144
65536
1
9
1000
262144
65536
1
10
1000
262144
65536
1
11
1000
262144
65536
1
12
1000
262144
65536
1
13
1000
262144
65536
1
14
1000
262144
65536
1
15
1000
262144
65536
1
16
1000
262144
65536
1
17
1000
262144
65536
1
Submit
Back to Top