結果

問題 No.56 消費税
ユーザー iodo_shibaiodo_shiba
提出日時 2018-08-30 20:11:38
言語 C++11
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 154 bytes
コンパイル時間 395 ms
コンパイル使用メモリ 56,228 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-13 19:53:01
合計ジャッジ時間 1,286 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 13 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>

int main(){
    int D,P;
    std::cin >> D >> P;
    std::cout << static_cast<int>(D*(1.+ static_cast<double>(P)/100)) << std::endl;
}
0