QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#766804 | #9546. Recover Statistics | yld# | WA | 0ms | 3644kb | C++20 | 385b | 2024-11-20 18:41:12 | 2024-11-20 18:41:16 |
Judging History
answer
#include<bits/stdc++.h>
#define int long long
#define endl '\n'
using namespace std;
void solve()
{
int a,b,c;
cin>>a>>b>>c;
cout<<100<<endl;
for(int i=1;i<=50;i++) cout<<a-1<<' ';
for(int i=51;i<=99;i++) cout<<b-1<<' ';
cout<<c<<endl;
}
signed main()
{
cin.tie(0)->sync_with_stdio(0);
int t=1;
while(t--) solve();
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3644kb
input:
50 95 99
output:
100 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94...
result:
wrong answer wrong p95: 99 / 100