結果

問題 No.495 (^^*) Easy
ユーザー nasubi24nasubi24
提出日時 2020-11-02 20:56:22
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 118 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 10,652 KB
実行使用メモリ 8,040 KB
最終ジャッジ日時 2023-09-29 13:44:21
合計ジャッジ時間 955 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 15 ms
7,908 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

s=input()
a=0
b=0
for i in range(len(s)//5):
    if s[i:i+5]=="(^^*)":
        a+=1
    else:
        b+=1
print(a,b)
0