結果

問題 No.56 消費税
ユーザー chike_pluschike_plus
提出日時 2019-03-19 09:59:57
言語 F#
(F# 4.0)
結果
AC  
実行時間 61 ms / 5,000 ms
コード長 185 bytes
コンパイル時間 4,033 ms
コンパイル使用メモリ 160,712 KB
実行使用メモリ 24,160 KB
最終ジャッジ日時 2023-10-11 14:19:40
合計ジャッジ時間 6,992 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
22,040 KB
testcase_01 AC 58 ms
22,068 KB
testcase_02 AC 59 ms
24,120 KB
testcase_03 AC 59 ms
22,212 KB
testcase_04 AC 59 ms
22,148 KB
testcase_05 AC 59 ms
21,992 KB
testcase_06 AC 59 ms
22,156 KB
testcase_07 AC 58 ms
22,040 KB
testcase_08 AC 59 ms
22,164 KB
testcase_09 AC 61 ms
22,080 KB
testcase_10 AC 59 ms
20,104 KB
testcase_11 AC 60 ms
24,120 KB
testcase_12 AC 58 ms
20,160 KB
testcase_13 AC 59 ms
22,076 KB
testcase_14 AC 59 ms
24,128 KB
testcase_15 AC 59 ms
22,016 KB
testcase_16 AC 60 ms
22,040 KB
testcase_17 AC 59 ms
22,112 KB
testcase_18 AC 59 ms
24,160 KB
testcase_19 AC 59 ms
24,040 KB
testcase_20 AC 60 ms
22,208 KB
testcase_21 AC 59 ms
22,068 KB
testcase_22 AC 59 ms
22,072 KB
testcase_23 AC 60 ms
24,124 KB
testcase_24 AC 59 ms
22,060 KB
testcase_25 AC 59 ms
22,128 KB
testcase_26 AC 59 ms
22,036 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System

let D , P = Console.ReadLine().Split( ' ' )
            |> fun args -> args.[0] |> int , args.[1] |> int

float(D) + float(D) * (float(P)/100.)
|> int
|> Console.WriteLine 
0