MojaCoder
Playground
Problems
Post Problem
Contests
Create Contest
EN
JA
Sign up
Sign in
334
2 secs
1024 MB
achapi
Tweet
Problem
Submissions
Test cases
Editorial
3桁かつ1桁目と2桁目が同じかつ1桁目と3桁目が違えばYesです。
pythonでの回答例