結果
| 問題 | 
                            No.285 消費税2
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2015-10-12 22:18:31 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 268 bytes | 
| コンパイル時間 | 722 ms | 
| コンパイル使用メモリ | 61,016 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-07-21 07:20:43 | 
| 合計ジャッジ時間 | 1,658 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 4 | 
| other | AC * 26 | 
ソースコード
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
    long long int a;
    long long int i;
	double a1;
    cin >> a;
    i = a*108;
    a1 = (double)(i - i/100*100)/100;
	cout << fixed << setprecision(2) << i/100 + a1 << endl;
    return 0;
}