結果

問題 No.56 消費税
ユーザー Ygg13_iRO
提出日時 2014-11-04 23:30:36
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 200 bytes
コンパイル時間 867 ms
コンパイル使用メモリ 61,392 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-30 17:27:00
合計ジャッジ時間 1,933 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 5 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <cmath> 
using namespace std;


int main(){

	double P, D, A;

	cin >> P >> D;


	A = floor(P + (P*(D / 100)));

	cout << A << endl;
}
0