結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー | MiyamonY |
提出日時 | 2019-09-03 15:59:34 |
言語 | Scheme (Gauche-0.9.14) |
結果 |
AC
|
実行時間 | 27 ms / 5,000 ms |
コード長 | 265 bytes |
コンパイル時間 | 120 ms |
コンパイル使用メモリ | 5,336 KB |
実行使用メモリ | 14,660 KB |
最終ジャッジ日時 | 2023-09-30 13:35:56 |
合計ジャッジ時間 | 1,293 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 25 ms
12,696 KB |
testcase_01 | AC | 26 ms
12,752 KB |
testcase_02 | AC | 24 ms
12,700 KB |
testcase_03 | AC | 24 ms
12,644 KB |
testcase_04 | AC | 24 ms
12,632 KB |
testcase_05 | AC | 24 ms
12,584 KB |
testcase_06 | AC | 24 ms
12,700 KB |
testcase_07 | AC | 25 ms
14,660 KB |
testcase_08 | AC | 24 ms
12,828 KB |
testcase_09 | AC | 27 ms
12,588 KB |
testcase_10 | AC | 24 ms
12,608 KB |
testcase_11 | AC | 25 ms
12,632 KB |
ソースコード
(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))))