結果

問題 No.32 貯金箱の憂鬱
ユーザー go_boardwalkgo_boardwalk
提出日時 2017-03-31 10:44:35
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 28 ms / 5,000 ms
コード長 174 bytes
コンパイル時間 31 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 12,824 KB
最終ジャッジ日時 2023-09-30 10:10:41
合計ジャッジ時間 1,120 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
12,588 KB
testcase_01 AC 26 ms
12,708 KB
testcase_02 AC 28 ms
12,696 KB
testcase_03 AC 27 ms
12,796 KB
testcase_04 AC 27 ms
12,824 KB
testcase_05 AC 28 ms
12,800 KB
testcase_06 AC 26 ms
12,692 KB
testcase_07 AC 27 ms
12,820 KB
testcase_08 AC 27 ms
12,644 KB
testcase_09 AC 28 ms
12,588 KB
testcase_10 AC 27 ms
12,580 KB
testcase_11 AC 28 ms
12,640 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define l (read))
(define m (read))
(define n (read))
(define s (mod (+ (* l 100) (* m 25) n) 1000))
(print (+ (div s 100) (div (mod s 100) 25) (div (mod (mod s 100) 25) 1)))
0