結果

問題 No.495 (^^*) Easy
ユーザー 👑 yumechiyumechi
提出日時 2017-03-24 22:28:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 156 ms / 2,000 ms
コード長 170 bytes
コンパイル時間 290 ms
コンパイル使用メモリ 86,796 KB
実行使用メモリ 79,880 KB
最終ジャッジ日時 2023-09-20 06:57:59
合計ジャッジ時間 2,105 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 149 ms
79,752 KB
testcase_01 AC 147 ms
79,724 KB
testcase_02 AC 146 ms
79,880 KB
testcase_03 AC 148 ms
79,560 KB
testcase_04 AC 146 ms
79,836 KB
testcase_05 AC 150 ms
79,860 KB
testcase_06 AC 156 ms
79,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import re

def solve():
	s = input()
	print("{0} {1}".format(len(re.findall(r"\(\^\^\*\)", s)), len(re.findall(r"\(\*\^\^\)", s))))


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