結果

問題 No.56 消費税
ユーザー the10hoursthe10hours
提出日時 2015-06-08 10:36:59
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 198 bytes
コンパイル時間 2,078 ms
コンパイル使用メモリ 105,636 KB
実行使用メモリ 25,192 KB
最終ジャッジ日時 2023-09-20 19:47:22
合計ジャッジ時間 4,736 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
23,072 KB
testcase_01 WA -
testcase_02 AC 65 ms
23,016 KB
testcase_03 AC 65 ms
23,024 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 64 ms
23,148 KB
testcase_10 AC 65 ms
22,916 KB
testcase_11 AC 66 ms
23,028 KB
testcase_12 AC 66 ms
25,168 KB
testcase_13 AC 65 ms
23,228 KB
testcase_14 AC 64 ms
20,924 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 66 ms
23,180 KB
testcase_18 AC 66 ms
23,072 KB
testcase_19 AC 65 ms
25,084 KB
testcase_20 AC 66 ms
23,136 KB
testcase_21 AC 66 ms
25,168 KB
testcase_22 AC 65 ms
23,060 KB
testcase_23 AC 65 ms
24,956 KB
testcase_24 AC 65 ms
23,032 KB
testcase_25 AC 66 ms
25,056 KB
testcase_26 AC 65 ms
23,104 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()
{
long d,p;
string[] str = Console.ReadLine().Split(' ');
d = long.Parse(str[0]);
p = long.Parse(str[1]);

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