結果

問題 No.56 消費税
ユーザー re1nsre1ns
提出日時 2015-11-06 23:01:12
言語 C++11
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 193 bytes
コンパイル時間 451 ms
コンパイル使用メモリ 62,112 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-13 13:29:06
合計ジャッジ時間 1,380 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 5 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<cmath>
#include<string>
#include<algorithm>
using namespace std;
int main(){
    int d,p;
    cin >> d >> p;
    cout << floor(d+(double)d*(double)p/100) << endl;
}
0