結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-12-24 11:58:43 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 254 bytes |
| コンパイル時間 | 833 ms |
| コンパイル使用メモリ | 107,184 KB |
| 実行使用メモリ | 28,712 KB |
| 最終ジャッジ日時 | 2024-12-14 17:18:06 |
| 合計ジャッジ時間 | 2,523 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 2 |
| 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;
public class Program {
public static void Main() {
string[] input = Console.ReadLine().Split(' ');
int D = int.Parse(input[0]);
int P = int.Parse(input[1]);
double tax = 0.01 * P + 1;
Console.WriteLine(D * tax);
}
}