結果
| 問題 | 
                            No.203 ゴールデン・ウィーク(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             hiro_metal_core
                         | 
                    
| 提出日時 | 2017-12-12 01:03:25 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 212 bytes | 
| コンパイル時間 | 88 ms | 
| コンパイル使用メモリ | 12,416 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-11-30 21:16:10 | 
| 合計ジャッジ時間 | 1,831 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | WA * 29 | 
ソースコード
C1 = input()
C2 = input()
C = C1 + C2
print(C)
rest = 0
rest_max = 0
for c in C:
    if c == 'o':
        rest += 1
    else:
        rest_max = max(rest, rest_max)
        rest = 0
print(max(rest_max, rest))
            
            
            
        
            
hiro_metal_core