MojaCoder
Playground
Problems
Post Problem
Contests
Create Contest
EN
JA
Sign up
Sign in
Amebas on Torus
2 secs
1024 MB
askr_58
Tweet
Problem
Submissions
Test cases
testcase_31.txt
入力
出力