結果
問題 |
No.56 消費税
|
ユーザー |
![]() |
提出日時 | 2015-06-08 10:36:27 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 195 bytes |
コンパイル時間 | 737 ms |
コンパイル使用メモリ | 102,528 KB |
実行使用メモリ | 18,688 KB |
最終ジャッジ日時 | 2024-07-06 14:43:06 |
合計ジャッジ時間 | 1,999 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 16 WA * 7 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class tax { static void Main() { int d,p; string[] str = Console.ReadLine().Split(' '); d = int.Parse(str[0]); p = int.Parse(str[1]); Console.WriteLine("{0:#}",d+d*(p/100.0)); } }