結果
問題 |
No.1168 Digit Sum Sequence
|
ユーザー |
|
提出日時 | 2024-09-16 20:11:44 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
AC
|
実行時間 | 25 ms / 2,000 ms |
コード長 | 156 bytes |
コンパイル時間 | 96 ms |
コンパイル使用メモリ | 6,816 KB |
実行使用メモリ | 16,000 KB |
最終ジャッジ日時 | 2024-09-16 20:11:46 |
合計ジャッジ時間 | 1,989 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 29 |
ソースコード
(define yuki1168 (begin (display (+ (modulo (- (apply + (map (^x (- x 48)) (map char->integer (string->list (read-line))))) 1) 9) 1)) (newline)))