結果

問題 No.285 消費税2
ユーザー aaaaaaiu
提出日時 2019-07-30 11:43:19
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 167 bytes
コンパイル時間 1,782 ms
コンパイル使用メモリ 192,332 KB
最終ジャッジ日時 2025-01-07 10:04:59
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 4
other RE * 26
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:8:35: warning: division by zero [-Wdiv-by-zero]
    8 |     cout << fixed << n * 108 / 100/0 << endl;
      |                      ~~~~~~~~~~~~~^~

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

int main() {
    ll n;
    cin >> n;
    cout << fixed << n * 108 / 100/0 << endl;
    return 0;
}
0