結果
問題 |
No.56 消費税
|
ユーザー |
|
提出日時 | 2023-08-30 13:32:59 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 25 ms / 5,000 ms |
コード長 | 430 bytes |
コンパイル時間 | 825 ms |
コンパイル使用メモリ | 112,128 KB |
実行使用メモリ | 26,908 KB |
最終ジャッジ日時 | 2025-01-02 03:36:56 |
合計ジャッジ時間 | 2,415 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.
ソースコード
using System; using System.Collections.Generic; using System.Linq; namespace PracticeAtCoder { class Program { static void Main(string[] args) { //中央値 string sA = Console.ReadLine(); string[] tA = sA.Split(' '); double sumA = 0; sumA = double.Parse(tA[0]) /100 * double.Parse(tA[1]); int sumB = int.Parse(tA[0]) + (int)sumA; Console.WriteLine(sumB); } } }