結果

問題 No.3020 サンシャイン◯崎
ユーザー nanaenanae
提出日時 2017-03-31 22:22:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 25 ms / 1,000 ms
コード長 358 bytes
コンパイル時間 113 ms
コンパイル使用メモリ 10,552 KB
実行使用メモリ 8,576 KB
最終ジャッジ日時 2023-08-25 01:51:12
合計ジャッジ時間 1,529 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
8,408 KB
testcase_01 AC 18 ms
8,412 KB
testcase_02 AC 18 ms
8,312 KB
testcase_03 AC 17 ms
8,448 KB
testcase_04 AC 19 ms
8,372 KB
testcase_05 AC 25 ms
8,564 KB
testcase_06 AC 18 ms
8,340 KB
testcase_07 AC 18 ms
8,408 KB
testcase_08 AC 20 ms
8,448 KB
testcase_09 AC 20 ms
8,476 KB
testcase_10 AC 25 ms
8,484 KB
testcase_11 AC 23 ms
8,512 KB
testcase_12 AC 25 ms
8,488 KB
testcase_13 AC 24 ms
8,576 KB
testcase_14 AC 24 ms
8,540 KB
testcase_15 AC 24 ms
8,468 KB
testcase_16 AC 24 ms
8,432 KB
testcase_17 AC 24 ms
8,536 KB
testcase_18 AC 24 ms
8,488 KB
testcase_19 AC 24 ms
8,532 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from collections import Counter

def solve():
    cnt = Counter(input())

    print(cnt['Y'], cnt['E'], cnt['A'], cnt['H'], cnt['!'])

def debug(x, table):
    for name, val in table.items():
        if x is val:
            print('DEBUG:{} -> {}'.format(name, val), file=sys.stderr)
            return None

if __name__ == '__main__':
    solve()
0