結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー maspy
提出日時 2020-01-01 12:40:49
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 32 ms / 1,000 ms
コード長 291 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2024-11-21 23:56:16
合計ジャッジ時間 2,179 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

S = ''.join(line.rstrip().decode('utf-8') for line in readlines())

answer = 0
for i in range(1,15):
    x = 'o' * i
    if S.find(x) != -1:
        answer = i

print(answer)
0