結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
Ygg13_iRO
|
| 提出日時 | 2014-11-05 00:10:06 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 221 bytes |
| コンパイル時間 | 754 ms |
| コンパイル使用メモリ | 69,048 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-30 17:37:51 |
| 合計ジャッジ時間 | 1,904 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 5 WA * 18 |
ソースコード
#include <iostream>
#include <algorithm>
#include <cmath>
#include <iomanip>
using namespace std;
int main(){
long double D, P, A;
cin >> D >> P;
A = (int)(D*100 + (D*P))/100;
cout << A <<endl;
}
Ygg13_iRO