結果

問題 No.3020 サンシャイン◯崎
ユーザー imulanimulan
提出日時 2017-03-31 22:38:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 33 ms / 1,000 ms
コード長 128 bytes
コンパイル時間 158 ms
コンパイル使用メモリ 10,536 KB
実行使用メモリ 8,584 KB
最終ジャッジ日時 2023-08-25 01:57:48
合計ジャッジ時間 1,535 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,380 KB
testcase_01 AC 17 ms
8,340 KB
testcase_02 AC 18 ms
8,448 KB
testcase_03 AC 18 ms
8,296 KB
testcase_04 AC 18 ms
8,304 KB
testcase_05 AC 32 ms
8,576 KB
testcase_06 AC 18 ms
8,468 KB
testcase_07 AC 18 ms
8,472 KB
testcase_08 AC 25 ms
8,484 KB
testcase_09 AC 24 ms
8,496 KB
testcase_10 AC 32 ms
8,584 KB
testcase_11 AC 29 ms
8,572 KB
testcase_12 AC 32 ms
8,568 KB
testcase_13 AC 33 ms
8,460 KB
testcase_14 AC 32 ms
8,504 KB
testcase_15 AC 31 ms
8,476 KB
testcase_16 AC 29 ms
8,504 KB
testcase_17 AC 32 ms
8,556 KB
testcase_18 AC 33 ms
8,508 KB
testcase_19 AC 32 ms
8,436 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections

d = collections.defaultdict(int)
for c in input():
    d[c] += 1

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