結果
問題 |
No.203 ゴールデン・ウィーク(1)
|
ユーザー |
|
提出日時 | 2016-07-07 09:26:48 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 11 ms / 1,000 ms |
コード長 | 193 bytes |
コンパイル時間 | 182 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-18 09:45:15 |
合計ジャッジ時間 | 1,170 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 29 |
ソースコード
#coding: utf-8 #yuki_203 s1=raw_input() s2=raw_input() s=s1+s2 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