結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー Navier_BoltzmannNavier_Boltzmann
提出日時 2023-07-02 18:58:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 112 ms / 1,000 ms
コード長 265 bytes
コンパイル時間 1,265 ms
コンパイル使用メモリ 87,060 KB
実行使用メモリ 73,332 KB
最終ジャッジ日時 2023-09-23 15:03:00
合計ジャッジ時間 5,148 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 108 ms
73,116 KB
testcase_01 AC 110 ms
72,828 KB
testcase_02 AC 109 ms
72,884 KB
testcase_03 AC 111 ms
73,092 KB
testcase_04 AC 111 ms
73,060 KB
testcase_05 AC 110 ms
73,204 KB
testcase_06 AC 110 ms
73,332 KB
testcase_07 AC 110 ms
73,188 KB
testcase_08 AC 110 ms
73,124 KB
testcase_09 AC 111 ms
73,064 KB
testcase_10 AC 110 ms
73,008 KB
testcase_11 AC 110 ms
72,892 KB
testcase_12 AC 110 ms
73,248 KB
testcase_13 AC 109 ms
73,088 KB
testcase_14 AC 108 ms
73,112 KB
testcase_15 AC 109 ms
73,116 KB
testcase_16 AC 110 ms
73,256 KB
testcase_17 AC 108 ms
73,188 KB
testcase_18 AC 110 ms
73,036 KB
testcase_19 AC 111 ms
73,116 KB
testcase_20 AC 110 ms
73,024 KB
testcase_21 AC 111 ms
72,892 KB
testcase_22 AC 111 ms
73,116 KB
testcase_23 AC 112 ms
73,032 KB
testcase_24 AC 110 ms
73,144 KB
testcase_25 AC 112 ms
72,824 KB
testcase_26 AC 109 ms
72,956 KB
testcase_27 AC 110 ms
72,884 KB
testcase_28 AC 112 ms
73,080 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
# input = sys.stdin.readline
C = list(input()) + list(input())
ans = 0
for g,r in groupby(C):
    if g=='o':
        ans = max(ans,len(list(r)))
print(ans)
0