結果

問題 No.203 ゴールデン・ウィーク(1)
コンテスト
ユーザー pluto77
提出日時 2016-07-07 09:25:26
言語 PyPy2
(7.3.20)
結果
WA  
実行時間 -
コード長 203 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 147 ms
コンパイル使用メモリ 77,400 KB
最終ジャッジ日時 2025-12-03 20:56:47
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 29
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#coding: utf-8
#yuki_203

s1=raw_input()
s2=raw_input()
s=s1+s2

print s

cnt=0
temp=0
for i in xrange(len(s)):
 if s[i]=="o":
  temp+=1
  if temp>cnt:
   cnt=temp
 elif s[i]=="x":
  temp=0
  
print cnt
0