QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#716183 | #9546. Recover Statistics | blhxzjr# | WA | 0ms | 3548kb | C++23 | 368b | 2024-11-06 14:37:47 | 2024-11-06 14:37:48 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
const int N=2e5+10;
int n,m,k,q;
signed main(){
ios::sync_with_stdio(0),cin.tie(0);
int a,b,c;
cin>>a>>b>>c;
n=2*a;
cout<<n<<endl;
for(int i=1;i<=a;i++) cout<<a<<' ';
for(int i=1;i<=n*0.4;i++) cout<<b<<' ';
for(int i=1;i<=n*0.05;i++) cout<<c<<' ';
for(int i=1;i<=n*0.05;i++) cout<<c+1<<' ';
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3548kb
input:
50 95 99
output:
100 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 99 99 99 99 99 100 100 100...
result:
wrong answer wrong p95: 90 / 100