結果

問題 No.56 消費税
ユーザー Respect2DRespect2D
提出日時 2014-11-21 14:21:01
言語 C++11
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 607 ms
コンパイル使用メモリ 62,328 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2025-01-02 19:58:57
合計ジャッジ時間 1,441 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 5 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main(){
int d, p;
cin >> d >> p;
cout << floor(d * (100.0 + p) / 100.0) << endl;
}
0