結果

問題 No.56 消費税
ユーザー zmirezzmirez
提出日時 2018-05-08 21:35:12
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 66 ms / 5,000 ms
コード長 243 bytes
コンパイル時間 3,478 ms
コンパイル使用メモリ 99,240 KB
実行使用メモリ 22,992 KB
最終ジャッジ日時 2023-09-10 11:08:38
合計ジャッジ時間 5,230 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
22,760 KB
testcase_01 AC 59 ms
22,696 KB
testcase_02 AC 59 ms
22,720 KB
testcase_03 AC 61 ms
20,672 KB
testcase_04 AC 63 ms
22,720 KB
testcase_05 AC 60 ms
20,684 KB
testcase_06 AC 60 ms
20,684 KB
testcase_07 AC 60 ms
22,824 KB
testcase_08 AC 59 ms
18,708 KB
testcase_09 AC 64 ms
20,848 KB
testcase_10 AC 62 ms
22,716 KB
testcase_11 AC 62 ms
20,784 KB
testcase_12 AC 59 ms
20,732 KB
testcase_13 AC 59 ms
20,788 KB
testcase_14 AC 62 ms
22,712 KB
testcase_15 AC 65 ms
20,720 KB
testcase_16 AC 60 ms
22,648 KB
testcase_17 AC 66 ms
20,680 KB
testcase_18 AC 65 ms
22,992 KB
testcase_19 AC 66 ms
20,676 KB
testcase_20 AC 65 ms
20,676 KB
testcase_21 AC 64 ms
22,664 KB
testcase_22 AC 62 ms
20,932 KB
testcase_23 AC 63 ms
20,712 KB
testcase_24 AC 60 ms
20,680 KB
testcase_25 AC 60 ms
22,732 KB
testcase_26 AC 58 ms
20,716 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 Program{
    static void Main(string[] args){
        string[]t=(Console.ReadLine()).Split(' ');
        int D=int.Parse(t[0]);
        int P=int.Parse(t[1]);
        Console.WriteLine(D+(int)(D*P/100));
    }
}

0