結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー pluto77
提出日時 2016-07-07 09:26:10
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 203 bytes
コンパイル時間 70 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-12 23:00:09
合計ジャッジ時間 1,168 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

#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