結果

問題 No.56 消費税
ユーザー lilac_chemistry
提出日時 2018-04-03 16:29:55
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 215 bytes
コンパイル時間 579 ms
コンパイル使用メモリ 59,792 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-26 08:29:31
合計ジャッジ時間 1,344 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 4 WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <math.h>
using namespace std;

int main() {
	int D;
	double P;
	cin >> D >> P;
	double ans;
	P = (P*0.01)+1;
	ans = D*P;
	ans=floor(ans);
	cout << ans << "\n";
	return 0;
}
0