回転寿司 (Sushi)
Unrated
日本語
Language
Contribute a translation- Time limit
- 9000 ms
- Memory limit
- 256 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
6 7 8 6 7 4 5 9 2 4 5 4 1 4 6 2 7 1 5 2 3 4 8 4 3 1 3 1 3
Sample output 1
7 9 8 7 8 6 5
Sample input 2
4 2 5 2 4 7 1 4 3 1 4 1
Sample output 2
7 5
Sample input 3
10 10 19 5 8 17 14 3 9 10 7 6 1 8 4 7 3 2 5 9 10 4 8 3 10 3 6 8 7 4 6 6 3 2 9 12 6 3 7 9 6 3
Sample output 3
19 10 14 17 8 10 3 12 7 9
Notes
JOI 2015/2016 回転寿司 (Sushi) · JCIOI · CC BY-SA 4.0
Tags
No tags yet