結果
問題 | No.203 ゴールデン・ウィーク(1) |
ユーザー |
|
提出日時 | 2016-02-07 09:16:48 |
言語 | Python2 (2.7.18) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 258 bytes |
コンパイル時間 | 468 ms |
コンパイル使用メモリ | 7,200 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-09 06:11:09 |
合計ジャッジ時間 | 1,926 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 WA * 5 |
ソースコード
#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