結果

問題 No.2298 yukicounter
ユーザー Mottchan
提出日時 2023-05-12 21:48:06
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 300 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 93,824 KB
最終ジャッジ日時 2024-11-28 17:53:43
合計ジャッジ時間 3,207 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 8 WA * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

moji=input()
yuki='yukicoder'
l=len(yuki)
if moji.count(yuki) > 0:
    ans=l//9
else:
    ans=0

while l<10**7:
    yuki+=yuki
    l=len(yuki)
    if moji.count(yuki)>0:
        ans=l//9
print(ans)
0