結果

問題 No.56 消費税
ユーザー nanasili
提出日時 2014-11-04 23:26:25
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 467 bytes
コンパイル時間 689 ms
コンパイル使用メモリ 84,128 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-18 01:44:01
合計ジャッジ時間 1,466 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <vector>
#include <queue>
#include <deque>
#include <stack>
#include <map>
#include <set>
#include <algorithm>
#include <functional>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <cctype>
#include <string>
#include <cstring>

using namespace std;

typedef long long ll;


int main() {
  double d, p;
  cin >> d >> p;
  cout << int(d*(100+p)/100) << endl;
}
0