結果

問題 No.8101 砂嵐
ユーザー iiljj
提出日時 2023-03-31 22:29:11
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 1,000 ms
コード長 77 bytes
コンパイル時間 118 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-23 01:16:54
合計ジャッジ時間 3,654 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 62
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a=0
while n>9:
	p=1
	while n:p*=n%10;n//=10
	a+=1;n=p
print(a)
0