結果
問題 |
No.1168 Digit Sum Sequence
|
ユーザー |
|
提出日時 | 2022-08-14 15:05:30 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 2,000 ms |
コード長 | 178 bytes |
コンパイル時間 | 448 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-10-01 07:35:21 |
合計ジャッジ時間 | 2,350 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 29 |
ソースコード
a = input() list_a = list(map(int, a)) b = str(sum(list_a)) list_b = list(map(int, b)) c = str(sum(list_b)) list_c = list(map(int, c)) d = str(sum(list_c)) print(d, end = "\n")