結果
問題 |
No.56 消費税
|
ユーザー |
![]() |
提出日時 | 2015-06-08 10:36:59 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 198 bytes |
コンパイル時間 | 701 ms |
コンパイル使用メモリ | 109,628 KB |
実行使用メモリ | 27,224 KB |
最終ジャッジ日時 | 2024-07-06 14:43:11 |
合計ジャッジ時間 | 2,198 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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() { long d,p; string[] str = Console.ReadLine().Split(' '); d = long.Parse(str[0]); p = long.Parse(str[1]); Console.WriteLine("{0:#}",d+d*(p/100.0)); } }