QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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;
}
詳細信息
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