結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー 2329 N
提出日時 2020-09-06 16:09:46
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 212 bytes
コンパイル時間 164 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-29 07:15:03
合計ジャッジ時間 2,066 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 28 RE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

from itertools import groupby

c1 = input()
c2 = input()
C = c1 + c2

groups = groupby(C)
result = [(label, sum(1 for _ in group)) for label, group in groups]

O = [i for i in result if 'o' in i]
print(max(O)[1])
0