結果

問題 No.56 消費税
ユーザー maicunemaicune
提出日時 2019-08-21 20:27:57
言語 C++11
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 145 bytes
コンパイル時間 1,340 ms
コンパイル使用メモリ 158,680 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-09 16:45:05
合計ジャッジ時間 2,209 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 22 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
int main(){
    int d,p,ans;
    cin>>d>>p;
    ans=d+floor((double)p/100*d);
    cout<<ans<<endl;
}
0