結果
問題 |
No.2322 MMA文字列
|
ユーザー |
|
提出日時 | 2023-10-01 20:32:36 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 2,000 ms |
コード長 | 72 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-07-26 13:32:28 |
合計ジャッジ時間 | 1,690 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 19 |
ソースコード
s = input() print("Yes" if len(set(s)) == 2 and s[0] == s[1] else "No")