結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー SchneeSchnee
提出日時 2022-09-08 06:49:25
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 135 bytes
コンパイル時間 405 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 7,992 KB
最終ジャッジ日時 2023-08-15 16:07:14
合計ジャッジ時間 1,922 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,792 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 13 ms
7,876 KB
testcase_08 AC 15 ms
7,776 KB
testcase_09 AC 13 ms
7,908 KB
testcase_10 WA -
testcase_11 AC 13 ms
7,780 KB
testcase_12 WA -
testcase_13 AC 12 ms
7,804 KB
testcase_14 WA -
testcase_15 AC 13 ms
7,868 KB
testcase_16 WA -
testcase_17 AC 13 ms
7,888 KB
testcase_18 AC 13 ms
7,784 KB
testcase_19 AC 13 ms
7,844 KB
testcase_20 AC 14 ms
7,776 KB
testcase_21 AC 13 ms
7,780 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 14 ms
7,796 KB
testcase_25 AC 13 ms
7,788 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

c=open(0).read().replace("\n","")
a,b,d=0,c[0],0
for i in c:
    if b==i:a+=1
    else:
        if d<a:d=a
        a=1
    b=i
print(d)
0