結果

問題 No.56 消費税
ユーザー yukiteru
提出日時 2017-09-20 19:01:15
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 392 bytes
コンパイル時間 671 ms
コンパイル使用メモリ 72,548 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-08 09:13:30
合計ジャッジ時間 1,661 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 2
other AC * 4 WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<string>
#include<string.h>
#include<algorithm>
#include<stdio.h>
#include<cmath>
#include<vector>
#include<utility>
#define FOR(i, a, b) for(int i=(a);i<=(b);i++)
#define RFOR(i, a, b) for(int i=(a);i>=(b);i--)
#define MOD 1000000007

using namespace std;


int main(void) {
	int d, p;
	cin >> d >> p;
	cout << (double)d*((double)p / 100 + 1) << endl;
	return 0;
}
0