結果

問題 No.3020 サンシャイン◯崎
ユーザー ixmelixmel
提出日時 2017-03-31 22:45:34
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 65 ms / 1,000 ms
コード長 165 bytes
コンパイル時間 125 ms
コンパイル使用メモリ 10,664 KB
実行使用メモリ 8,224 KB
最終ジャッジ日時 2023-08-25 01:58:56
合計ジャッジ時間 1,938 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,776 KB
testcase_01 AC 15 ms
7,872 KB
testcase_02 AC 16 ms
7,928 KB
testcase_03 AC 16 ms
7,928 KB
testcase_04 AC 15 ms
7,888 KB
testcase_05 AC 65 ms
8,024 KB
testcase_06 AC 16 ms
7,864 KB
testcase_07 AC 15 ms
7,816 KB
testcase_08 AC 36 ms
7,952 KB
testcase_09 AC 37 ms
8,104 KB
testcase_10 AC 64 ms
8,124 KB
testcase_11 AC 54 ms
8,120 KB
testcase_12 AC 65 ms
8,004 KB
testcase_13 AC 64 ms
8,008 KB
testcase_14 AC 62 ms
8,120 KB
testcase_15 AC 59 ms
8,224 KB
testcase_16 AC 56 ms
8,076 KB
testcase_17 AC 62 ms
8,060 KB
testcase_18 AC 62 ms
8,080 KB
testcase_19 AC 63 ms
8,036 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s=input()
a,b,c,d,e=0,0,0,0,0
for i in range(len(s)):
	if s[i]=='Y':a+=1
	if s[i]=='E':b+=1
	if s[i]=='A':c+=1
	if s[i]=='H':d+=1
	if s[i]=='!':e+=1
print(a,b,c,d,e)
0