結果

問題 No.56 消費税
ユーザー matsuyoshi30
提出日時 2016-04-19 22:56:44
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 210 bytes
コンパイル時間 474 ms
コンパイル使用メモリ 60,892 KB
実行使用メモリ 6,940 KB
最終ジャッジ日時 2024-07-18 03:11:27
合計ジャッジ時間 1,342 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 22 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {
	long long int d, p, tax;
	cin >> d >> p;
	tax = d * ((double)p / 100);
	cout << d + tax << endl;
}
0