QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#715762 | #9546. Recover Statistics | ATM12345# | WA | 0ms | 3756kb | C++17 | 515b | 2024-11-06 13:18:12 | 2024-11-06 13:18:15 |
Judging History
answer
#include <bits/stdc++.h>
#define ll long long
#define Ma 1000005
#define pb push_back
#define IOS ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
using namespace std;
ll a,b,c;
ll n=100;
ll v[Ma];
void sol()
{
cin>>a>>b>>c;
for (ll i=1;i<=50;i++)
v[i]=a;
for (ll i=51;i<=95;i++)
v[i]=b;
for (ll i=96;i<=100;i++)
v[i]=c;
printf("%lld\n",n);
for (ll i=1;i<=n;i++)
printf("%lld ",v[i]);
}
int main()
{
IOS
ll tt=1;
//cin>>tt;
while (tt--)
sol();
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3756kb
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