結果
| 問題 |
No.203 ゴールデン・ウィーク(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-10-07 15:27:14 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 233 bytes |
| コンパイル時間 | 124 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,368 KB |
| 最終ジャッジ日時 | 2024-11-17 04:29:39 |
| 合計ジャッジ時間 | 1,982 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 28 RE * 1 |
ソースコード
from itertools import groupby
def main():
w1 = input()
w2 = input()
ans = max(len(list(g))
for xo, g in groupby(w1 + w2)
if xo == "o")
print(ans)
if __name__ == '__main__':
main()