結果
| 問題 | No.285 消費税2 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-30 11:43:19 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 167 bytes |
| 記録 | |
| コンパイル時間 | 1,899 ms |
| コンパイル使用メモリ | 207,940 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-07 15:37:39 |
| 合計ジャッジ時間 | 6,992 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
| ~~~~~~~~~~~~~^~
ソースコード
#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;
}