結果
問題 |
No.1168 Digit Sum Sequence
|
ユーザー |
|
提出日時 | 2020-10-23 19:38:26 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 155 bytes |
コンパイル時間 | 241 ms |
コンパイル使用メモリ | 82,308 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-07-21 10:21:57 |
合計ジャッジ時間 | 2,587 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 29 |
ソースコード
N = int(input()) def digitSum(n): s = str(n) array = list(map(int, s)) return sum(array) for i in range(99): N = digitSum(N) print(N)