結果

問題 No.285 消費税2
ユーザー koyopro
提出日時 2015-10-09 22:22:41
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 286 bytes
コンパイル時間 1,291 ms
コンパイル使用メモリ 157,112 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-20 02:26:24
合計ジャッジ時間 2,246 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 2 WA * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

#include "bits/stdc++.h"
using namespace std;

#define REP(i, n) for(int i=0; i<(n); i++)
#define int long long

int N,K;
signed main()
{
    cin >> N;
    if (N > 10000) {
        cout << (int)(1.08 * N) << endl;
    } else {
        printf("%.14f\n", 1.08 * N);
    }
    return 0;
}
0