結果

問題 No.495 (^^*) Easy
ユーザー JunOnumaJunOnuma
提出日時 2017-05-17 12:01:24
言語 Python2
(2.7.18)
結果
AC  
実行時間 16 ms / 2,000 ms
コード長 126 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 7,116 KB
実行使用メモリ 7,060 KB
最終ジャッジ日時 2023-10-17 14:43:02
合計ジャッジ時間 766 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

s = raw_input()
l = 0
r = 0
for i in range(1,len(s),5):
    if s[i] == '^':
        l += 1
    else:
        r += 1
print l,r
0