結果

問題 No.56 消費税
ユーザー 0htoAi
提出日時 2021-12-03 20:45:05
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 193 bytes
コンパイル時間 1,595 ms
コンパイル使用メモリ 165,084 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-06 04:16:02
合計ジャッジ時間 2,314 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

const int MAXN=1e4+50;
const double eps=1e-7;
long long a,b;

int main()
{
	cin>>a>>b;
	printf("%lld",(long long)floor(a*1.0*(1+0.01*b)+eps));	
}
0