ビ太郎のパーティー (Bitaro’s Party)
Unrated
日本語
Language
Contribute a translation- Time limit
- 2000 ms
- Memory limit
- 512 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
5 6 3 1 2 2 4 3 4 1 3 3 5 4 5 4 1 1 5 2 2 3 2 3 1 4 5
Sample output 1
1 3 0
Sample input 2
12 17 10 1 2 2 3 3 4 1 5 2 6 3 7 4 8 5 6 6 7 7 8 5 9 6 10 7 11 8 12 9 10 10 11 11 12 6 3 1 7 12 3 7 1 2 3 4 5 6 7 11 3 1 3 5 9 2 1 9 8 4 1 2 3 4 1 1 1 12 0 10 3 1 6 10 11 8 2 3 5 6 7 9 10 11 8 7 2 3 4 5 6 7 8
Sample output 2
1 -1 3 1 3 -1 5 2 4 4
Notes
JOI 2017/2018 ビ太郎のパーティー (Bitaro’s Party)、情報オリンピック日本委員会。CC BY-SA 4.0。
Tags
No tags yet