結果

問題 No.56 消費税
ユーザー A_ru8743731
提出日時 2017-07-08 12:11:32
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 447 bytes
コンパイル時間 593 ms
コンパイル使用メモリ 80,148 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-06 19:39:56
合計ジャッジ時間 1,614 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 5 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <sstream>
#include <vector>
#include <algorithm>
#include <string>
#include <functional>
#include <numeric>
#include <ctype.h>
#include <cstdlib>
#include <string.h>
#include <cmath>
#include <cstdio>
#include <map>
#include <queue>
#include <utility>

using namespace std;

const int INF = 1000000007;
const double PI = acos(-1.0);


int main()
{
	double d, p;

	cin >> d >> p;

	cout << floor(d + (d * (p / 100)));
}
0