Hack
Now
EN
Login
Register
HackNow
Nollarni surish | HackNow
Go back
Reading Mode
bar_chart
Problem
Statistics
send
Total
10
check_circle
AC
7
trending_up
Acceptance
70.0%
timer
Time
0ms
memory
Memory
7.9MB
Problem
Submissions
Nollarni surish
lock
UZ only
O'rta
70%
accepted
20 points
1 s
256 MB
Two Pointers
Author:
neo_yamaguchi
Input format
Output format
Examples
1
1
Example #1
Input
5 0 1 0 3 12
Output
1 3 12 0 0
Solution editor
Python 3
Clear
Language
PYTHON
UTF-8
Tab
4 spaces
Ctrl
+
Enter
Submit
Submit