結果
| 問題 |
No.8101 砂嵐
|
| コンテスト | |
| ユーザー |
もちふわゆるゆる
|
| 提出日時 | 2023-03-31 23:28:01 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 608 bytes |
| コンパイル時間 | 270 ms |
| コンパイル使用メモリ | 82,420 KB |
| 実行使用メモリ | 54,116 KB |
| 最終ジャッジ日時 | 2024-09-23 02:31:18 |
| 合計ジャッジ時間 | 4,514 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 61 WA * 1 |
ソースコード
# 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.floor(math.log10(x))+1):
res *= x//(10**i)%10
return 1 + f(res)
print(f(int(input())))
もちふわゆるゆる