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_26.txt
入力
出力