結果
問題 | No.56 消費税 |
ユーザー |
![]() |
提出日時 | 2019-05-17 00:55:44 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 306 bytes |
コンパイル時間 | 845 ms |
コンパイル使用メモリ | 108,776 KB |
実行使用メモリ | 26,132 KB |
最終ジャッジ日時 | 2024-09-17 05:44:10 |
合計ジャッジ時間 | 2,092 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 19 WA * 4 |
コンパイルメッセージ
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.Text;class No56{static void Main(string[] args){string[] input = Console.ReadLine().Split(' ');int price = int.Parse(input[0]);Console.WriteLine((int)(price + price * float.Parse(input[1]) / 100));}}