結果

問題 No.56 消費税
ユーザー MOD9cXWdOsRxvPyMOD9cXWdOsRxvPy
提出日時 2022-10-30 16:35:57
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 19 ms / 5,000 ms
コード長 186 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 13,960 KB
最終ジャッジ日時 2023-09-21 14:07:01
合計ジャッジ時間 2,300 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
13,960 KB
testcase_01 AC 19 ms
11,844 KB
testcase_02 AC 19 ms
12,024 KB
testcase_03 AC 18 ms
11,836 KB
testcase_04 AC 19 ms
12,036 KB
testcase_05 AC 18 ms
11,960 KB
testcase_06 AC 18 ms
11,812 KB
testcase_07 AC 19 ms
12,000 KB
testcase_08 AC 19 ms
11,720 KB
testcase_09 AC 19 ms
11,864 KB
testcase_10 AC 19 ms
11,712 KB
testcase_11 AC 19 ms
11,984 KB
testcase_12 AC 19 ms
12,036 KB
testcase_13 AC 19 ms
11,868 KB
testcase_14 AC 19 ms
13,884 KB
testcase_15 AC 18 ms
11,932 KB
testcase_16 AC 19 ms
12,008 KB
testcase_17 AC 18 ms
11,992 KB
testcase_18 AC 18 ms
11,996 KB
testcase_19 AC 18 ms
11,936 KB
testcase_20 AC 18 ms
12,052 KB
testcase_21 AC 18 ms
11,992 KB
testcase_22 AC 18 ms
11,872 KB
testcase_23 AC 19 ms
11,812 KB
testcase_24 AC 19 ms
11,928 KB
testcase_25 AC 19 ms
11,872 KB
testcase_26 AC 19 ms
11,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env gosh

(define (main _)
  (let* ([d (read)][p (read)])
    (display
     (regexp-replace #/\..*$/
		     (format "~f" (* d ( + 1 (/ p 100))))
		     "")))
  (newline)
  0)
0