結果

問題 No.285 消費税2
ユーザー niyarinniyarin
提出日時 2016-07-20 01:01:49
言語 Scheme
(Gauche-0.9.13)
結果
AC  
実行時間 18 ms / 2,000 ms
コード長 237 bytes
コンパイル時間 69 ms
コンパイル使用メモリ 5,460 KB
実行使用メモリ 13,712 KB
最終ジャッジ日時 2023-08-05 20:25:33
合計ジャッジ時間 1,878 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
11,556 KB
testcase_01 AC 17 ms
11,804 KB
testcase_02 AC 18 ms
11,832 KB
testcase_03 AC 17 ms
11,828 KB
testcase_04 AC 17 ms
11,832 KB
testcase_05 AC 16 ms
11,780 KB
testcase_06 AC 17 ms
11,716 KB
testcase_07 AC 17 ms
11,604 KB
testcase_08 AC 17 ms
11,604 KB
testcase_09 AC 18 ms
11,816 KB
testcase_10 AC 17 ms
13,712 KB
testcase_11 AC 17 ms
11,568 KB
testcase_12 AC 17 ms
11,788 KB
testcase_13 AC 17 ms
11,832 KB
testcase_14 AC 17 ms
11,828 KB
testcase_15 AC 17 ms
11,540 KB
testcase_16 AC 16 ms
11,808 KB
testcase_17 AC 17 ms
11,868 KB
testcase_18 AC 17 ms
11,688 KB
testcase_19 AC 17 ms
11,684 KB
testcase_20 AC 18 ms
11,568 KB
testcase_21 AC 18 ms
11,860 KB
testcase_22 AC 17 ms
11,644 KB
testcase_23 AC 18 ms
11,572 KB
testcase_24 AC 18 ms
11,500 KB
testcase_25 AC 18 ms
11,780 KB
testcase_26 AC 18 ms
11,816 KB
testcase_27 AC 18 ms
11,772 KB
testcase_28 AC 17 ms
11,840 KB
testcase_29 AC 17 ms
13,680 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(begin
  (display (let* ((D (read))) 
                (let ((a (quotient (* D 108) 100 ))(b (+ 100 (modulo (* D 108) 100 ))))
                  (string-append (number->string a ) "." (substring (number->string b) 1 3 )))) )
  (newline)
)
0