結果
| 問題 |
No.203 ゴールデン・ウィーク(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-07-07 09:25:26 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 203 bytes |
| コンパイル時間 | 81 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-12 23:00:07 |
| 合計ジャッジ時間 | 1,210 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 29 |
ソースコード
#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