結果

問題 No.56 消費税
ユーザー xvfz57xvfz57
提出日時 2019-10-26 23:21:58
言語 C++11
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 199 bytes
コンパイル時間 606 ms
コンパイル使用メモリ 58,996 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-14 20:23:44
合計ジャッジ時間 1,316 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 18 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <vector>
#include <numeric>

using namespace std;

int main(){
  int d;
  float p;
  cin >> d >>p;
  p = p/100 + 1;
  cout << int(d * p) << endl;

}
0