Toggle navigation
Contest Tasks
Submissions
Q & A
Dashboard
Sign in
Sign up
424 . 霖澤黑森林
Submit out of contest
Status
Discussion / Solution
Ranklist
Back to Problems List
TopCoder
164253
User's AC Ratio
100.0% (
17/17
)
Submission's AC Ratio
88.6% (
31
/
35
)
Tags
Show solution-related tags
Algo
Algo25_a
c
c25_b
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 out of contest
Back to Top