結果

問題 No.2298 yukicounter
ユーザー kyskys
提出日時 2023-05-13 16:47:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 82 ms / 2,000 ms
コード長 814 bytes
コンパイル時間 666 ms
コンパイル使用メモリ 86,932 KB
実行使用メモリ 75,248 KB
最終ジャッジ日時 2023-08-19 15:20:35
合計ジャッジ時間 4,694 ms
ジャッジサーバーID
(参考情報)
judge10 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,956 KB
testcase_01 AC 74 ms
71,792 KB
testcase_02 AC 74 ms
71,932 KB
testcase_03 AC 78 ms
73,084 KB
testcase_04 AC 74 ms
72,212 KB
testcase_05 AC 72 ms
71,816 KB
testcase_06 AC 78 ms
73,592 KB
testcase_07 AC 72 ms
72,380 KB
testcase_08 AC 73 ms
71,992 KB
testcase_09 AC 73 ms
71,908 KB
testcase_10 AC 72 ms
71,988 KB
testcase_11 AC 73 ms
72,332 KB
testcase_12 AC 73 ms
72,276 KB
testcase_13 AC 73 ms
72,256 KB
testcase_14 AC 74 ms
72,304 KB
testcase_15 AC 70 ms
71,900 KB
testcase_16 AC 71 ms
72,064 KB
testcase_17 AC 71 ms
71,912 KB
testcase_18 AC 72 ms
72,120 KB
testcase_19 AC 72 ms
71,952 KB
testcase_20 AC 71 ms
71,988 KB
testcase_21 AC 70 ms
71,912 KB
testcase_22 AC 77 ms
75,248 KB
testcase_23 AC 73 ms
72,280 KB
testcase_24 AC 82 ms
73,900 KB
testcase_25 AC 78 ms
72,764 KB
testcase_26 AC 74 ms
71,924 KB
testcase_27 AC 81 ms
73,496 KB
testcase_28 AC 74 ms
71,904 KB
testcase_29 AC 74 ms
71,840 KB
testcase_30 AC 73 ms
72,096 KB
testcase_31 AC 75 ms
72,116 KB
testcase_32 AC 73 ms
71,948 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    from sys import stdin, setrecursionlimit
    # setrecursionlimit(1000000)
    input = stdin.readline
    def iinput(): return int(input())
    def sinput(): return input().rstrip()
    def i0input(): return int(input()) - 1
    def linput(): return list(input().split())
    def liinput(): return list(map(int, input().split()))
    def miinput(): return map(int, input().split())
    def li0input(): return list(map(lambda x: int(x) - 1, input().split()))
    def mi0input(): return map(lambda x: int(x) - 1, input().split())
    INF = 1000000000000000000
    MOD = 1000000007

    S = sinput()
    ok = 0
    ng = 1010101 // 9 + 1

    while ok + 1 < ng:
        mid = (ok + ng) // 2
        if 'yukicoder' * mid in S:
            ok = mid
        else:
            ng = mid
    print(ok)

main()
0