結果

問題 No.56 消費税
ユーザー Jojikkkkk
提出日時 2020-10-05 07:21:07
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 34 ms / 5,000 ms
コード長 158 bytes
コンパイル時間 448 ms
コンパイル使用メモリ 67,536 KB
最終ジャッジ日時 2025-01-15 02:51:14
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>

using namespace std;

int main(){

  int k;
  double n;

  cin >> k >> n;
  n *= 0.01 * k;
  k += n;

  cout << k << endl;

  return 0;
}
0