結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
Eclair1015
|
| 提出日時 | 2018-05-21 10:03:12 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 163 bytes |
| コンパイル時間 | 544 ms |
| コンパイル使用メモリ | 59,096 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-28 14:52:17 |
| 合計ジャッジ時間 | 1,264 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 4 WA * 19 |
ソースコード
#include<iostream>
#include<math.h>
using namespace std;
int main(){
int D;
double P;
cin>>D;
cin>>P;
P=1+P/100;
cout<<floor(D*P)<<endl;
return 0;
}
Eclair1015