結果
問題 | No.56 消費税 |
ユーザー |
![]() |
提出日時 | 2016-12-17 16:29:35 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 232 bytes |
コンパイル時間 | 654 ms |
コンパイル使用メモリ | 111,644 KB |
実行使用メモリ | 26,252 KB |
最終ジャッジ日時 | 2024-07-18 03:23:24 |
合計ジャッジ時間 | 1,970 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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 * (float)(100 + p) / 100)); } }