結果

問題 No.56 消費税
ユーザー しらゆきしらゆき
提出日時 2015-11-18 09:43:47
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 73 ms / 5,000 ms
コード長 234 bytes
コンパイル時間 3,407 ms
コンパイル使用メモリ 100,780 KB
実行使用メモリ 25,984 KB
最終ジャッジ日時 2023-09-25 03:15:20
合計ジャッジ時間 4,962 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
23,684 KB
testcase_01 AC 68 ms
25,652 KB
testcase_02 AC 68 ms
23,892 KB
testcase_03 AC 68 ms
25,824 KB
testcase_04 AC 70 ms
21,920 KB
testcase_05 AC 68 ms
25,708 KB
testcase_06 AC 68 ms
23,716 KB
testcase_07 AC 67 ms
21,712 KB
testcase_08 AC 67 ms
23,804 KB
testcase_09 AC 67 ms
23,688 KB
testcase_10 AC 69 ms
23,752 KB
testcase_11 AC 68 ms
25,748 KB
testcase_12 AC 68 ms
25,984 KB
testcase_13 AC 69 ms
25,720 KB
testcase_14 AC 68 ms
23,680 KB
testcase_15 AC 73 ms
23,872 KB
testcase_16 AC 70 ms
23,712 KB
testcase_17 AC 69 ms
25,804 KB
testcase_18 AC 68 ms
23,692 KB
testcase_19 AC 68 ms
23,784 KB
testcase_20 AC 68 ms
23,788 KB
testcase_21 AC 68 ms
23,616 KB
testcase_22 AC 67 ms
23,740 KB
testcase_23 AC 68 ms
25,868 KB
testcase_24 AC 68 ms
24,020 KB
testcase_25 AC 68 ms
23,908 KB
testcase_26 AC 67 ms
23,896 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Linq;

class Program
{
    static void Main()
    {
        double[] i = Console.ReadLine().Split().Select(double.Parse).ToArray();

        Console.WriteLine(Math.Floor(i[0] * (100 + i[1]) / 100));
    }
}
0