結果
問題 |
No.8101 砂嵐
|
ユーザー |
![]() |
提出日時 | 2023-03-31 23:25:56 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 596 bytes |
コンパイル時間 | 253 ms |
コンパイル使用メモリ | 82,340 KB |
実行使用メモリ | 67,432 KB |
最終ジャッジ日時 | 2024-09-23 02:29:39 |
合計ジャッジ時間 | 6,048 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 RE * 2 |
other | AC * 1 RE * 61 |
ソースコード
# from PIL import Image # img = Image.open("./hoge.png") # N,M = img.size # d = [] # for i in range(N): # for j in range(M): # d.append(chr(img.getpixel((i,j)))) # with open("fuga.html",mode="w",encoding="utf-8") as f: # f.write("".join(d)) import sys, math input = lambda: sys.stdin.readline()[:-1] def MI(): return map(int, input().split()) inf = 10**18 sys.setrecursionlimit(10**7) # Codeforcesでは350000程度に def f(x): if x < 10: return 0 res = 1 for i in range(math.log10(x)+1): res *= x//(10**i)%10 return 1 + f(res) print(f(int(input())))