結果
| 問題 |
No.285 消費税2
|
| コンテスト | |
| ユーザー |
latte0119
|
| 提出日時 | 2015-10-17 01:08:49 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 325 bytes |
| コンパイル時間 | 1,277 ms |
| コンパイル使用メモリ | 157,016 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-22 06:56:13 |
| 合計ジャッジ時間 | 2,292 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 2 |
| other | AC * 1 WA * 25 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:13:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
13 | scanf("%lf",&d);
| ~~~~~^~~~~~~~~~
ソースコード
#include<bits/stdc++.h>
using namespace std;
typedef pair<int,int>P;
typedef vector<int>VI;
#define rep(i,n) for(int i=0;i<(n);i++)
#define pb push_back
#define all(v) (v).begin(),(v).end()
#define maxv(a,b) (a)=max((a),(b))
int main(){
double d;
scanf("%lf",&d);
printf("%.20lf\n",d+d/100*8);
return 0;
}
latte0119