結果
問題 |
No.56 消費税
|
ユーザー |
![]() |
提出日時 | 2020-02-18 15:56:01 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 315 bytes |
コンパイル時間 | 716 ms |
コンパイル使用メモリ | 67,584 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-06 15:37:07 |
合計ジャッジ時間 | 1,481 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 5 WA * 18 |
ソースコード
#include <iostream> #include <stdio.h> #include <cmath> #define rep(i,n) for(int i = 0; i < n; i++) typedef long long ll; using namespace std; const int INF = 1e9; const int MOD = 1e9+7; const double PI=3.14159265358979323846; int main(){ double a,b; cin >> a >> b; cout << floor(a+(b/100)*a) << endl; }