美味しい美味しいハンバーグ (Hamburg Steak)
Unrated
日本語
Language
Contribute a translation- Time limit
- 3000 ms
- Memory limit
- 1024 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
4 2 2 1 3 3 1 2 4 3 6 1 7 4 5 3 7 5
Sample output 1
2 2 7 4
Sample input 2
3 3 1 1 1 1 1 2 1 2 1 3 1 3
Sample output 2
1 1 1 2 1 3
Notes
原典:JOI 2019/2020 春季トレーニング合宿 美味しい美味しいハンバーグ (Hamburg Steak)、情報オリンピック日本委員会。CC BY-SA 4.0。
Tags
No tags yet