結果
| 問題 |
No.9011 数字を全て足そう(数字だけ)
|
| ユーザー |
|
| 提出日時 | 2024-09-12 21:56:40 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
AC
|
| 実行時間 | 115 ms / 2,000 ms |
| コード長 | 290 bytes |
| コンパイル時間 | 373 ms |
| コンパイル使用メモリ | 7,196 KB |
| 実行使用メモリ | 28,544 KB |
| 最終ジャッジ日時 | 2024-09-12 21:56:44 |
| 合計ジャッジ時間 | 3,730 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
(import
(scheme base)
(scheme read)
(scheme write)
)
(define yuki9011
(let*
((n (read)))
(let loop
(
(i n)
(s 0)
)
(if (zero? i)
(begin (display s) (newline))
(loop (quotient i 10) (+ s (modulo i 10)))
)
)
)
)