結果

問題 No.32 貯金箱の憂鬱
ユーザー kokoa1046kokoa1046
提出日時 2017-09-04 11:10:22
言語 Scheme
(Gauche-0.9.13)
結果
AC  
実行時間 18 ms / 5,000 ms
コード長 210 bytes
コンパイル時間 225 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 11,900 KB
最終ジャッジ日時 2023-09-30 12:37:08
合計ジャッジ時間 1,398 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

(define l (read))
(define m (read))
(define n (read))
(set! m (+ m (quotient n 25)))
(set! n (remainder n 25))
(set! l (+ l (quotient m 4)))
(set! m (remainder m 4))
(set! l (remainder l 10))
(print (+ l m n))
0