結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
mkan
|
| 提出日時 | 2017-03-25 16:50:24 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 222 bytes |
| コンパイル時間 | 568 ms |
| コンパイル使用メモリ | 65,484 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-06 06:04:12 |
| 合計ジャッジ時間 | 1,219 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 13 WA * 10 |
ソースコード
#include <iostream>
#include <string>
#include <algorithm>
#include <queue>
#include <cmath>
#include <cctype>
using namespace std;
int main(){
int D,P;
cin>>D>>P;
cout<<int(D*(double(P)/100+1))<<endl;
return 0;
}
mkan