結果
問題 |
No.56 消費税
|
ユーザー |
![]() |
提出日時 | 2015-12-26 20:45:47 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 169 bytes |
コンパイル時間 | 1,363 ms |
コンパイル使用メモリ | 158,676 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-19 00:36:34 |
合計ジャッジ時間 | 1,856 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 13 WA * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ long long int d,p; cin >> d >> p; double ans = d * (1 + 0.01 * p); cout << (int)ans << endl; return 0; }