結果
問題 | No.56 消費税 |
ユーザー |
![]() |
提出日時 | 2016-12-17 16:22:29 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 228 bytes |
コンパイル時間 | 963 ms |
コンパイル使用メモリ | 102,912 KB |
実行使用メモリ | 17,920 KB |
最終ジャッジ日時 | 2024-12-14 04:24:36 |
合計ジャッジ時間 | 2,315 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 18 WA * 5 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class Q0056 { public static void Main() { string[] input = Console.ReadLine().Split(' '); int d = int.Parse(input[0]); int p = int.Parse(input[1]); Console.WriteLine((int)(d * (100 + p) / 100.0f)); } }