結果

問題 No.56 消費税
ユーザー iwkjoseciwkjosec
提出日時 2018-02-23 05:26:40
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 292 bytes
コンパイル時間 1,250 ms
コンパイル使用メモリ 113,344 KB
実行使用メモリ 27,264 KB
最終ジャッジ日時 2024-04-15 13:18:51
合計ジャッジ時間 2,938 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
27,000 KB
testcase_01 AC 29 ms
27,160 KB
testcase_02 AC 29 ms
24,988 KB
testcase_03 WA -
testcase_04 AC 28 ms
24,960 KB
testcase_05 AC 29 ms
25,004 KB
testcase_06 AC 28 ms
25,264 KB
testcase_07 AC 28 ms
25,244 KB
testcase_08 AC 27 ms
23,216 KB
testcase_09 AC 29 ms
27,124 KB
testcase_10 AC 28 ms
24,860 KB
testcase_11 AC 28 ms
25,244 KB
testcase_12 AC 29 ms
27,004 KB
testcase_13 AC 29 ms
24,880 KB
testcase_14 AC 28 ms
24,980 KB
testcase_15 AC 28 ms
24,864 KB
testcase_16 AC 27 ms
24,860 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) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using static System.Console;

class Program
{
    static void Main()
    {
        var dp = ReadLine().Split().Select(int.Parse).ToArray();
        WriteLine((int)(dp[0] * ((double)dp[1] / 100 + 1)));
    }
}
0