結果

問題 No.285 消費税2
ユーザー taktak
提出日時 2018-05-23 02:51:03
言語 F#
(F# 4.0)
結果
AC  
実行時間 92 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 3,600 ms
コンパイル使用メモリ 154,352 KB
実行使用メモリ 25,060 KB
最終ジャッジ日時 2023-09-11 01:34:10
合計ジャッジ時間 8,024 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 89 ms
22,904 KB
testcase_01 AC 88 ms
25,060 KB
testcase_02 AC 89 ms
24,932 KB
testcase_03 AC 87 ms
22,968 KB
testcase_04 AC 88 ms
24,952 KB
testcase_05 AC 86 ms
22,888 KB
testcase_06 AC 87 ms
24,948 KB
testcase_07 AC 87 ms
22,832 KB
testcase_08 AC 87 ms
24,916 KB
testcase_09 AC 86 ms
22,860 KB
testcase_10 AC 86 ms
22,956 KB
testcase_11 AC 87 ms
24,968 KB
testcase_12 AC 87 ms
23,028 KB
testcase_13 AC 88 ms
22,824 KB
testcase_14 AC 88 ms
24,872 KB
testcase_15 AC 88 ms
22,968 KB
testcase_16 AC 88 ms
22,988 KB
testcase_17 AC 88 ms
22,976 KB
testcase_18 AC 88 ms
24,856 KB
testcase_19 AC 92 ms
22,828 KB
testcase_20 AC 89 ms
24,868 KB
testcase_21 AC 88 ms
22,828 KB
testcase_22 AC 87 ms
24,940 KB
testcase_23 AC 88 ms
22,896 KB
testcase_24 AC 87 ms
22,904 KB
testcase_25 AC 87 ms
22,832 KB
testcase_26 AC 87 ms
25,012 KB
testcase_27 AC 87 ms
22,904 KB
testcase_28 AC 87 ms
24,944 KB
testcase_29 AC 87 ms
20,944 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let taxRate = 0.08m
let D       = stdin.ReadLine() |> decimal
let price   = (1.0m + taxRate) * D

price |> printfn "%f"
0