結果
問題 |
No.730 アルファベットパネル
|
ユーザー |
👑 |
提出日時 | 2020-08-20 01:32:56 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 2,000 ms |
コード長 | 178 bytes |
コンパイル時間 | 119 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-10-12 12:47:22 |
合計ジャッジ時間 | 1,053 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
from collections import defaultdict dd = defaultdict(int) s = input() for ss in s: dd[ss] += 1 if dd[ss] == 2: print("NO") exit() else: print("YES")