結果

問題 No.2298 yukicounter
ユーザー Mottchan
提出日時 2023-05-12 21:47:10
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 174 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 59,008 KB
最終ジャッジ日時 2024-11-28 17:52:21
合計ジャッジ時間 2,436 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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**6:
    yuki+=yuki
    l=len(yuki)
    if moji.count(yuki)>0:
        ans=l//9
print(ans)
0