結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー rocoderrocoder
提出日時 2017-06-04 14:22:35
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 207 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 11,800 KB
実行使用メモリ 10,028 KB
最終ジャッジ日時 2023-10-22 04:19:57
合計ジャッジ時間 1,938 ms
ジャッジサーバーID
(参考情報)
judge15 / judge9
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
9,964 KB
testcase_01 AC 29 ms
9,964 KB
testcase_02 RE -
testcase_03 AC 28 ms
9,964 KB
testcase_04 RE -
testcase_05 AC 28 ms
9,964 KB
testcase_06 AC 28 ms
9,964 KB
testcase_07 AC 28 ms
9,964 KB
testcase_08 AC 29 ms
9,964 KB
testcase_09 AC 29 ms
9,964 KB
testcase_10 RE -
testcase_11 AC 29 ms
9,964 KB
testcase_12 AC 28 ms
9,964 KB
testcase_13 AC 29 ms
9,964 KB
testcase_14 AC 29 ms
9,964 KB
testcase_15 AC 29 ms
9,964 KB
testcase_16 RE -
testcase_17 AC 29 ms
9,964 KB
testcase_18 AC 28 ms
9,964 KB
testcase_19 AC 28 ms
9,964 KB
testcase_20 AC 28 ms
9,964 KB
testcase_21 AC 28 ms
9,964 KB
testcase_22 RE -
testcase_23 RE -
testcase_24 AC 28 ms
9,964 KB
testcase_25 AC 28 ms
9,964 KB
testcase_26 RE -
testcase_27 RE -
testcase_28 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

L=list(input())
T=list(input())
L+=T
G=0
i=0
while i <14:
    if L[i]=="o":
        C=0
        while L[i]=="o" and i<14:
            C+=1
            i+=1
        if C>G:
            G=C
    i+=1
print (G)
0