結果

問題 No.1168 Digit Sum Sequence
ユーザー Noah Collins
提出日時 2022-11-23 14:48:23
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 84 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-24 19:04:32
合計ジャッジ時間 2,036 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 20 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

n=list(input().strip())
while len(n)!=1:
    n=str(sum([int(i)for i in n]))
print(n)
0