結果

問題 No.56 消費税
ユーザー chike_pluschike_plus
提出日時 2019-03-19 09:56:58
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 179 bytes
コンパイル時間 5,685 ms
コンパイル使用メモリ 160,588 KB
実行使用メモリ 26,212 KB
最終ジャッジ日時 2023-10-11 14:13:21
合計ジャッジ時間 7,060 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
24,152 KB
testcase_01 AC 57 ms
22,096 KB
testcase_02 AC 58 ms
24,088 KB
testcase_03 WA -
testcase_04 AC 57 ms
22,044 KB
testcase_05 AC 57 ms
22,076 KB
testcase_06 AC 58 ms
22,080 KB
testcase_07 AC 58 ms
24,088 KB
testcase_08 AC 57 ms
20,028 KB
testcase_09 AC 57 ms
22,172 KB
testcase_10 AC 58 ms
20,108 KB
testcase_11 AC 57 ms
22,176 KB
testcase_12 AC 58 ms
24,040 KB
testcase_13 AC 57 ms
22,188 KB
testcase_14 AC 57 ms
24,168 KB
testcase_15 AC 57 ms
22,076 KB
testcase_16 AC 57 ms
22,232 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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) * (1. + float(P)/100.)
|> int
|> Console.WriteLine 
0