結果
問題 |
No.56 消費税
|
ユーザー |
![]() |
提出日時 | 2019-06-02 22:40:41 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 181 bytes |
コンパイル時間 | 466 ms |
コンパイル使用メモリ | 55,288 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-17 20:15:49 |
合計ジャッジ時間 | 1,430 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 13 WA * 10 |
ソースコード
#include<iostream> #include<string> using namespace std; int main() { double d, p; cin >> d >> p; double ans = (d * (1 + (p / 100))); cout << (int)ans << endl; return 0; }