結果

問題 No.56 消費税
ユーザー regeregeregerege
提出日時 2016-01-13 06:25:58
言語 F#
(F# 4.0)
結果
AC  
実行時間 88 ms / 5,000 ms
コード長 159 bytes
コンパイル時間 3,310 ms
コンパイル使用メモリ 153,404 KB
実行使用メモリ 24,960 KB
最終ジャッジ日時 2023-09-25 03:20:09
合計ジャッジ時間 6,910 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
24,960 KB
testcase_01 AC 85 ms
24,796 KB
testcase_02 AC 84 ms
20,640 KB
testcase_03 AC 83 ms
22,956 KB
testcase_04 AC 83 ms
22,692 KB
testcase_05 AC 84 ms
22,948 KB
testcase_06 AC 84 ms
22,960 KB
testcase_07 AC 84 ms
22,892 KB
testcase_08 AC 84 ms
22,884 KB
testcase_09 AC 84 ms
24,732 KB
testcase_10 AC 83 ms
20,880 KB
testcase_11 AC 84 ms
22,692 KB
testcase_12 AC 85 ms
24,716 KB
testcase_13 AC 86 ms
24,744 KB
testcase_14 AC 83 ms
22,716 KB
testcase_15 AC 86 ms
24,780 KB
testcase_16 AC 83 ms
22,904 KB
testcase_17 AC 83 ms
22,892 KB
testcase_18 AC 85 ms
24,916 KB
testcase_19 AC 85 ms
22,812 KB
testcase_20 AC 88 ms
22,716 KB
testcase_21 AC 83 ms
22,816 KB
testcase_22 AC 84 ms
22,888 KB
testcase_23 AC 84 ms
22,804 KB
testcase_24 AC 84 ms
22,880 KB
testcase_25 AC 83 ms
24,760 KB
testcase_26 AC 83 ms
22,760 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let ``No.56 消費税`` () =
    let a = stdin.ReadLine().Split(' ')
    let D,P = int a.[0], int a.[1]
    printfn "%d" <| D+(D*P/100)
``No.56 消費税`` ()
0