結果

問題 No.56 消費税
ユーザー Series_205
提出日時 2019-10-20 16:19:20
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 135 bytes
コンパイル時間 402 ms
コンパイル使用メモリ 55,132 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-02 17:27:27
合計ジャッジ時間 1,287 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 13 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
double d,p;
int main(){
    cin>>d>>p;
    d*=1+p/100;
    cout<<(int)d<<endl;
    return 0;
}
0