結果

問題 No.1168 Digit Sum Sequence
ユーザー はと
提出日時 2023-08-01 00:28:29
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 168 bytes
コンパイル時間 292 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-10-10 17:03:40
合計ジャッジ時間 2,115 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 2
other RE * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
list1 = list(N)
n = 0
def main(lists):
    for i in lists:
	    n = n + 1
	    lists = list(n)
	    if len(lists) == 1:
	    	break
print(main(list1))	
0