結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー Navier_Boltzmann
提出日時 2023-07-02 18:58:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 52 ms / 1,000 ms
コード長 265 bytes
コンパイル時間 353 ms
コンパイル使用メモリ 82,600 KB
実行使用メモリ 57,412 KB
最終ジャッジ日時 2024-07-16 14:42:49
合計ジャッジ時間 3,180 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 29
権限があれば一括ダウンロードができます

ソースコード

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