結果

問題 No.2322 MMA文字列
ユーザー AyunaAyuna
提出日時 2023-05-28 13:36:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 52 ms / 2,000 ms
コード長 84 bytes
コンパイル時間 1,577 ms
コンパイル使用メモリ 81,792 KB
実行使用メモリ 51,840 KB
最終ジャッジ日時 2024-12-26 21:08:00
合計ジャッジ時間 2,522 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
if s[0] == s[1] and s[0] != s[2]:
    print("Yes")
else:
    print("No")
0