結果

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

ソースコード

diff #
raw source code

#coding: utf-8
##yuki_203

s=raw_input()
t=raw_input()

wt=s+t
w=list(wt)

cnt_temp=1
cnt=0
cnt_res=0

i=0
while i<13:
 if w[i]=='x':
  cnt_temp=1
 if w[i]=='o' and w[i+1]=='o':
  cnt_temp+=1
  cnt=cnt_temp
 if cnt_res<cnt:
  cnt_res=cnt
 i+=1
print cnt_res
0