結果

問題 No.2322 MMA文字列
ユーザー sepa38sepa38
提出日時 2023-04-22 16:37:24
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 114 bytes
コンパイル時間 265 ms
コンパイル使用メモリ 87,084 KB
実行使用メモリ 71,460 KB
最終ジャッジ日時 2023-08-27 07:33:25
合計ジャッジ時間 2,807 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,076 KB
testcase_01 AC 69 ms
71,148 KB
testcase_02 AC 69 ms
71,096 KB
testcase_03 AC 68 ms
71,224 KB
testcase_04 AC 66 ms
71,304 KB
testcase_05 AC 66 ms
71,116 KB
testcase_06 AC 67 ms
71,132 KB
testcase_07 AC 68 ms
71,316 KB
testcase_08 AC 68 ms
71,408 KB
testcase_09 AC 67 ms
71,144 KB
testcase_10 AC 67 ms
71,404 KB
testcase_11 AC 68 ms
71,300 KB
testcase_12 AC 68 ms
71,392 KB
testcase_13 AC 67 ms
71,108 KB
testcase_14 AC 69 ms
70,964 KB
testcase_15 AC 68 ms
71,308 KB
testcase_16 AC 65 ms
71,460 KB
testcase_17 AC 65 ms
71,176 KB
testcase_18 AC 65 ms
71,304 KB
testcase_19 AC 66 ms
71,160 KB
testcase_20 AC 67 ms
71,404 KB
testcase_21 AC 68 ms
71,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
assert len(s) == 3
for c in s:
  assert "A" <= c <= "Z"
print("Yes" if s[0] == s[1] != s[2] else "No")
0