結果

問題 No.56 消費税
ユーザー d_sei
提出日時 2019-08-28 21:39:02
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 253 bytes
コンパイル時間 827 ms
コンパイル使用メモリ 76,708 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-17 16:37:46
合計ジャッジ時間 1,552 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<algorithm>
#include <vector>
#include<cmath>
#include<iomanip>
using namespace std;
typedef long long int lont;
int main() {
	double D, P;
	cin >> D >> P;
	double A = D * (100 + P) / 100;
	int a = A / 1;
	cout << a << endl;
}
0