結果

問題 No.932 解法破綻!高橋君
ユーザー kekenx
提出日時 2020-03-05 13:21:23
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 67 ms / 2,000 ms
コード長 345 bytes
コンパイル時間 115 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 16,556 KB
最終ジャッジ日時 2024-10-14 01:01:12
合計ジャッジ時間 1,549 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

s = readline().decode().strip()

splitted = s.split(",")
n = len(splitted)
counter = {}
for sp in splitted:
    counter[sp] = counter.get(sp, 0) + 1

if counter.get("AC", 0) == n:
    print("Done!")
else:
    print("Failed...")
0