結果

問題 No.56 消費税
ユーザー sakura_metal
提出日時 2014-11-25 17:59:26
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 353 bytes
コンパイル時間 3,153 ms
コンパイル使用メモリ 107,600 KB
実行使用メモリ 29,616 KB
最終ジャッジ日時 2025-01-02 21:53:35
合計ジャッジ時間 2,800 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 2
other AC * 16 WA * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace test
{
    class MainClass
    {
        static void Main (string[] args)
        {
            string[] X;
            int N, D;
            X = Console.ReadLine().Split(' ');
            N = int.Parse (X [0]);
            D = int.Parse (X [1]);
            Console.Write (N + N * 0.01 * D);
        }
    }
}
0