MojaCoder
Playground
Problems
Post Problem
Contests
Create Contest
EN
JA
Sign up
Sign in
Pecking Order
2 secs
1024 MB
143-378
Tweet
Problem
Submissions
Test cases
Editorial
07_medium_1.txt
入力
出力