QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#623672#5304. Money Gamennk#Compile Error//C++20485b2024-10-09 13:39:582024-10-09 13:40:00

Judging History

This is the latest submission verdict.

  • [2024-10-09 13:40:00]
  • Judged
  • [2024-10-09 13:39:58]
  • Submitted

answer

#include<bits[表情]dc++.h>
#define int long long
#define N 200004
using namespace std;
vector<int> g[N];
signed main()
{
	ios::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
	int t = 1;
//	cin >> t;  
	while (t--) {
		int n, x;
		double s = 0;
		cin >> n;
		for (int i = 1; i <= n; i++) cin >> x, s += x;
		double y = s / (double)(n + 1);
		printf("%.7f ", y * 2);
		for (int i = 2; i <= n; i++) printf("%.7f ", y);

	}
	return 0;
}
/*
1
2 200
30 1
*/

Details

answer.code:1:9: fatal error: bits[表情]dc++.h: No such file or directory
    1 | #include<bits[表情]dc++.h>
      |         ^~~~~~~~~~~~~~~~~~
compilation terminated.