結果

問題 No.32 貯金箱の憂鬱
ユーザー MiyamonYMiyamonY
提出日時 2019-09-03 15:59:34
言語 Scheme
(Gauche-0.9.15)
結果
AC  
実行時間 34 ms / 5,000 ms
コード長 265 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 17,152 KB
最終ジャッジ日時 2024-07-23 07:38:05
合計ジャッジ時間 1,331 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

(define (read-number)
  (string->number (read-line)))


(let* ((l (read-number))
       (m (read-number))
       (n (read-number))
       (total (+ n (* m 25) (* l 100))))

  (print (+ (div (mod total 1000) 100)
	    (div (mod total 100) 25)
	    (mod total 25))))
0