結果

問題 No.56 消費税
ユーザー the10hoursthe10hours
提出日時 2015-06-08 10:36:27
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 195 bytes
コンパイル時間 1,901 ms
コンパイル使用メモリ 101,284 KB
実行使用メモリ 27,200 KB
最終ジャッジ日時 2023-09-20 19:47:13
合計ジャッジ時間 4,768 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
23,116 KB
testcase_01 WA -
testcase_02 AC 65 ms
25,092 KB
testcase_03 AC 66 ms
25,120 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 65 ms
23,008 KB
testcase_10 AC 66 ms
23,140 KB
testcase_11 AC 65 ms
23,032 KB
testcase_12 AC 66 ms
25,128 KB
testcase_13 AC 66 ms
23,044 KB
testcase_14 AC 65 ms
22,984 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 65 ms
23,028 KB
testcase_18 AC 65 ms
23,132 KB
testcase_19 AC 67 ms
23,004 KB
testcase_20 AC 66 ms
22,996 KB
testcase_21 AC 65 ms
23,180 KB
testcase_22 AC 65 ms
23,040 KB
testcase_23 AC 66 ms
25,148 KB
testcase_24 AC 65 ms
23,088 KB
testcase_25 AC 67 ms
23,036 KB
testcase_26 AC 66 ms
23,228 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class tax
{
static void Main()
{
int d,p;
string[] str = Console.ReadLine().Split(' ');
d = int.Parse(str[0]);
p = int.Parse(str[1]);

Console.WriteLine("{0:#}",d+d*(p/100.0));
}
}
0