結果

問題 No.32 貯金箱の憂鬱
ユーザー ldsybldsyb
提出日時 2016-05-20 12:44:02
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 18 ms / 5,000 ms
コード長 212 bytes
コンパイル時間 72 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 11,860 KB
最終ジャッジ日時 2023-09-30 08:09:20
合計ジャッジ時間 1,268 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
11,672 KB
testcase_01 AC 18 ms
11,744 KB
testcase_02 AC 17 ms
11,668 KB
testcase_03 AC 18 ms
11,668 KB
testcase_04 AC 17 ms
11,756 KB
testcase_05 AC 17 ms
11,704 KB
testcase_06 AC 17 ms
11,628 KB
testcase_07 AC 18 ms
11,672 KB
testcase_08 AC 18 ms
11,640 KB
testcase_09 AC 17 ms
11,680 KB
testcase_10 AC 18 ms
11,700 KB
testcase_11 AC 18 ms
11,860 KB
権限があれば一括ダウンロードができます

ソースコード

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