結果
| 問題 | No.285 消費税2 |
| コンテスト | |
| ユーザー |
Maple_Landscape
|
| 提出日時 | 2015-10-09 22:46:41 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 227 bytes |
| コンパイル時間 | 460 ms |
| コンパイル使用メモリ | 61,988 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-20 04:23:24 |
| 合計ジャッジ時間 | 1,373 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 3 WA * 23 |
ソースコード
#include<iostream>
#include<iomanip>
using namespace std;
int main(){
double d;
cin >> d;
d *= 1.08;
if(d >= 1000000000000)
cout << fixed << setprecision(0) << d << endl;
else
cout << fixed << d << endl;
return 0;
}
Maple_Landscape