Wireless is the New Fiber
Unrated
English
Language
Contribute a translation- Time limit
- 2000 ms
- Memory limit
- 2048 MB (no extra memory)
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
7 11 0 1 0 2 0 5 0 6 1 3 2 4 1 2 1 2 1 5 2 6 5 6
Sample output 1
3 7 6 0 1 0 2 0 5 0 6 3 6 4 6
Sample input 2
4 3 0 1 2 1 2 3
Sample output 2
0 4 3 2 1 1 3 0 2
Tags
No tags yet