結果

問題 No.1168 Digit Sum Sequence
ユーザー
提出日時 2022-09-22 10:16:13
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 106 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-12-22 04:44:04
合計ジャッジ時間 1,899 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 28 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
x = sum(list(map(int, str(n))))
while x >10:
    x = sum(list(map(int, str(x))))
print(x)
0