QOJ.ac
QOJ
The 2nd Universal Cup Finals is coming! Check out our event page, schedule, and competition rules!
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#623672 | #5304. Money Game | nnk# | Compile Error | / | / | C++20 | 485b | 2024-10-09 13:39:58 | 2024-10-09 13:40:00 |
Judging History
This is the latest submission verdict.
- [2024-10-09 13:40:00]
- Judged
- Verdict: Compile Error
- Time: 0ms
- Memory: 0kb
- [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.