結果

問題 No.56 消費税
ユーザー nattoumarunattoumaru
提出日時 2018-02-28 19:52:07
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 62 ms / 5,000 ms
コード長 412 bytes
コンパイル時間 2,906 ms
コンパイル使用メモリ 101,388 KB
実行使用メモリ 23,996 KB
最終ジャッジ日時 2023-08-23 12:02:53
合計ジャッジ時間 6,068 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
23,976 KB
testcase_01 AC 60 ms
19,668 KB
testcase_02 AC 61 ms
23,996 KB
testcase_03 AC 60 ms
21,924 KB
testcase_04 AC 60 ms
21,968 KB
testcase_05 AC 60 ms
21,952 KB
testcase_06 AC 61 ms
21,804 KB
testcase_07 AC 61 ms
23,940 KB
testcase_08 AC 61 ms
21,932 KB
testcase_09 AC 61 ms
22,008 KB
testcase_10 AC 61 ms
21,832 KB
testcase_11 AC 62 ms
23,904 KB
testcase_12 AC 61 ms
23,972 KB
testcase_13 AC 61 ms
23,740 KB
testcase_14 AC 61 ms
21,904 KB
testcase_15 AC 61 ms
23,840 KB
testcase_16 AC 60 ms
20,020 KB
testcase_17 AC 61 ms
23,796 KB
testcase_18 AC 60 ms
23,880 KB
testcase_19 AC 61 ms
23,820 KB
testcase_20 AC 61 ms
21,936 KB
testcase_21 AC 60 ms
21,860 KB
testcase_22 AC 62 ms
19,968 KB
testcase_23 AC 62 ms
23,848 KB
testcase_24 AC 60 ms
23,932 KB
testcase_25 AC 62 ms
22,016 KB
testcase_26 AC 62 ms
21,932 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace programPractice
{
    class Program
    {
        public static void Main(string[] args)
        {
            int[] n = Console.ReadLine().Split().Select(int.Parse).ToArray();
            int result = n[0] * (n[1] + 100) / 100;
            Console.WriteLine(result);
        }
    }
}
0