結果

問題 No.730 アルファベットパネル
ユーザー hiragnhiragn
提出日時 2022-11-10 20:12:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 78 ms
コンパイル使用メモリ 10,644 KB
実行使用メモリ 8,368 KB
最終ジャッジ日時 2023-10-01 03:58:17
合計ジャッジ時間 1,096 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
8,280 KB
testcase_01 AC 19 ms
8,344 KB
testcase_02 AC 19 ms
8,360 KB
testcase_03 AC 18 ms
8,328 KB
testcase_04 AC 18 ms
8,364 KB
testcase_05 AC 18 ms
8,264 KB
testcase_06 AC 17 ms
8,304 KB
testcase_07 AC 17 ms
8,292 KB
testcase_08 AC 17 ms
8,368 KB
testcase_09 AC 18 ms
8,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter


def main():
    c = Counter(input())
    if max(c.values()) > 1:
        print("NO")
    else:
        print("YES")


if __name__ == "__main__":
    main()
0