結果

問題 No.56 消費税
ユーザー nattoumaru
提出日時 2018-02-28 19:52:07
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 31 ms / 5,000 ms
コード長 412 bytes
コンパイル時間 829 ms
コンパイル使用メモリ 109,648 KB
実行使用メモリ 19,072 KB
最終ジャッジ日時 2024-12-21 14:45:47
合計ジャッジ時間 2,549 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます
コンパイルメッセージ
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