結果

問題 No.56 消費税
ユーザー SAIKI_R_ASAIKI_R_A
提出日時 2019-07-11 17:57:51
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 151 bytes
コンパイル時間 446 ms
コンパイル使用メモリ 62,752 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-08 00:36:46
合計ジャッジ時間 1,230 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 13 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

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