結果
| 問題 |
No.56 消費税
|
| ユーザー |
zzzhikky
|
| 提出日時 | 2016-12-22 07:08:20 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 483 bytes |
| コンパイル時間 | 443 ms |
| コンパイル使用メモリ | 59,148 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-14 14:16:03 |
| 合計ジャッジ時間 | 1,320 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 4 WA * 19 |
ソースコード
//============================================================================
// Name : yuki56.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <iostream>
#include <cmath>
using namespace std;
int main() {
int d, p;
cin >> d >> p;
cout << floor( (double)d * (1.0 + (double)p/100.0) ) << endl;
return 0;
}
zzzhikky