結果

問題 No.56 消費税
ユーザー TaK7907
提出日時 2017-10-12 06:07:58
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 164 bytes
コンパイル時間 549 ms
コンパイル使用メモリ 66,172 KB
最終ジャッジ日時 2025-01-05 03:13:11
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 13 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main() {
	unsigned price, taxRate;
	cin >> price >> taxRate;
	cout<<(int)(price*(1+taxRate/100.0))<<endl;
	return 0;
}
0