結果

問題 No.32 貯金箱の憂鬱
ユーザー ldsyb
提出日時 2016-05-20 12:44:02
言語 Scheme
(Gauche-0.9.15)
結果
AC  
実行時間 26 ms / 5,000 ms
コード長 212 bytes
コンパイル時間 33 ms
コンパイル使用メモリ 6,688 KB
実行使用メモリ 16,128 KB
最終ジャッジ日時 2024-07-23 02:21:06
合計ジャッジ時間 1,320 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

(define l (read))
(define m (read))
(define n (read))
(set! m (+ m (quotient n 25)))
(set! n (modulo n 25))
(set! l (+ l (quotient m 4)))
(set! m (modulo m 4))
(set! l (modulo l 10))
(display (+ l m n))
(newline)
0