結果

問題 No.3020 サンシャイン◯崎
ユーザー zimphazimpha
提出日時 2017-03-31 22:30:51
言語 Python2
(2.7.18)
結果
AC  
実行時間 32 ms / 1,000 ms
コード長 253 bytes
コンパイル時間 479 ms
コンパイル使用メモリ 6,492 KB
実行使用メモリ 6,096 KB
最終ジャッジ日時 2023-08-25 01:55:12
合計ジャッジ時間 1,874 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,852 KB
testcase_01 AC 11 ms
5,972 KB
testcase_02 AC 11 ms
6,096 KB
testcase_03 AC 11 ms
5,936 KB
testcase_04 AC 11 ms
6,056 KB
testcase_05 AC 30 ms
5,948 KB
testcase_06 AC 11 ms
5,852 KB
testcase_07 AC 11 ms
5,916 KB
testcase_08 AC 19 ms
6,088 KB
testcase_09 AC 19 ms
5,992 KB
testcase_10 AC 31 ms
5,940 KB
testcase_11 AC 28 ms
6,008 KB
testcase_12 AC 32 ms
6,088 KB
testcase_13 AC 30 ms
5,952 KB
testcase_14 AC 30 ms
6,076 KB
testcase_15 AC 29 ms
6,016 KB
testcase_16 AC 27 ms
5,924 KB
testcase_17 AC 30 ms
6,020 KB
testcase_18 AC 32 ms
6,016 KB
testcase_19 AC 27 ms
6,020 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x = raw_input()
cnt = [0] * 5
for c in x:
    if c == 'Y':
        cnt[0] += 1
    elif c == 'E':
        cnt[1] += 1
    elif c == 'A':
        cnt[2] += 1
    elif c == 'H':
        cnt[3] += 1
    else:
        cnt[4] += 1
for x in cnt:
    print x,
0