結果

問題 No.285 消費税2
ユーザー Kmcode1
提出日時 2015-10-09 22:21:06
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 635 bytes
コンパイル時間 782 ms
コンパイル使用メモリ 93,544 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-20 02:24:50
合計ジャッジ時間 1,692 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 3
other WA * 26
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:32:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   32 |         scanf("%lld", &d);
      |         ~~~~~^~~~~~~~~~~~

ソースコード

diff #

#include<iostream>
#include<cstdio>
#include<cstring>
#include<string>
#include<cctype>
#include<cstdlib>
#include<algorithm>
#include<bitset>
#include<vector>
#include<list>
#include<deque>
#include<queue>
#include<map>
#include<set>
#include<stack>
#include<cmath>
#include<sstream>
#include<fstream>
#include<iomanip>
#include<ctime>
#include<complex>
#include<functional>
#include<climits>
#include<cassert>
#include<iterator>
#include<unordered_map>
//#include<quadmath.h>
using namespace std;

int main() {
	long long int d;
	scanf("%lld", &d);
	double ans;
	ans = d;
	ans *= (double)(1.08);
	printf("%.16f\n", ans);
	return 0;
}
0