結果
| 問題 |
No.285 消費税2
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-31 19:00:11 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 313 bytes |
| コンパイル時間 | 4,112 ms |
| コンパイル使用メモリ | 251,096 KB |
| 最終ジャッジ日時 | 2025-02-20 18:15:01 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 2 WA * 24 |
ソースコード
#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
using ll = long long;
using ld = long double;
ll d;
int main() {
cin >> d;
if (d * 108 % 100 == 0) cout << d * 108 / 100 << endl;
else cout << fixed << setprecision(15) << (ld)d * 108 / 100 << endl;
return 0;
}