結果
| 問題 |
No.203 ゴールデン・ウィーク(1)
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 21:21:13 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 1,000 ms |
| コード長 | 243 bytes |
| コンパイル時間 | 170 ms |
| コンパイル使用メモリ | 82,660 KB |
| 実行使用メモリ | 53,928 KB |
| 最終ジャッジ日時 | 2025-03-20 21:22:34 |
| 合計ジャッジ時間 | 2,296 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 29 |
ソースコード
s = input().strip()
t = input().strip()
cal = s + t
max_count = 0
current = 0
for c in cal:
if c == 'o':
current += 1
if current > max_count:
max_count = current
else:
current = 0
print(max_count)
lam6er