Problems
Queue
Competitions
Ranking
Articles
Signup
Signin
bolt
Try our new interface for solving problems
Try
Problems
171
Statement
Solutions
Statistics
Discussion
171
171
Time limit
1
second
Memory limit
64
MiB
Input example #1
content_copy
7 0 1 -2 1 0 0 3
Output example #1
content_copy
0 1 -2 3
170
172