結果

問題 No.56 消費税
ユーザー masakt
提出日時 2017-03-21 01:28:17
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 246 bytes
コンパイル時間 2,240 ms
コンパイル使用メモリ 102,784 KB
実行使用メモリ 18,048 KB
最終ジャッジ日時 2024-07-05 04:45:12
合計ジャッジ時間 2,727 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 13 WA * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
class P
{
    static void Main(string[] _)
    {
        _ = Console.ReadLine().Split(' ');
        double d = double.Parse(_[0]);
        double p = 1.0 + 0.01 * double.Parse(_[1]);
        Console.WriteLine((long)(d * p));
    }
}
0