結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー akihito0000
提出日時 2016-08-15 22:56:36
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 224 bytes
コンパイル時間 400 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-11-07 18:03:40
合計ジャッジ時間 1,686 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/python
# -*- coding: utf-8 -*-

S = raw_input() + raw_input()
print S
ans,tmp = 0,0

for s in S:
       	if s == "o":
       		tmp += 1
       	else:
       		ans = max(ans,tmp)
       		tmp = 0
print max(ans,tmp)
0