QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#714560 | #9546. Recover Statistics | 2366503423 | WA | 0ms | 3616kb | C++14 | 321b | 2024-11-06 00:06:32 | 2024-11-06 00:06:32 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long int a,b,c;cin>>a>>b>>c;
cout<<100<<'\n';
for(int i=1;i<=100;i++)
{
if(i<=50) cout<<a<<' ';
else if(i<=95) cout<<b<<' ';
else if(i<=100) cout<<c<<' ';
else cout<<1000000000<<' ';
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3616kb
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 95 95 95 95 95 99 99 99 99...
result:
wrong answer wrong p99: 100 / 100