結果
問題 |
No.56 消費税
|
ユーザー |
![]() |
提出日時 | 2020-02-18 15:53:44 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 314 bytes |
コンパイル時間 | 745 ms |
コンパイル使用メモリ | 67,328 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-06 15:36:50 |
合計ジャッジ時間 | 1,318 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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(){ float a,b; cin >> a >> b; cout << floor(a*(1+b/100)) << endl; }