QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#702498 | #9546. Recover Statistics | ucup-team5318# | WA | 4ms | 3872kb | C++14 | 365b | 2024-11-02 16:06:42 | 2024-11-02 16:06:42 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
int main()
{
// freopen(".out","w",stdout);
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
int ans=94050;
printf("%d\n",ans);
for(int i=1;i<=ans/2;i++)printf("%d ",a);
for(int i=ans/2+1;i<=ans/100*95;i++)printf("%d ",b);
for(int i=ans/100*95+1;i<=ans/100*99;i++)printf("%d ",c);
printf("\n");
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 4ms
memory: 3872kb
input:
50 95 99
output:
94050 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 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 ...
result:
wrong output format Unexpected end of file - int32 expected