QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#702498#9546. Recover Statisticsucup-team5318#WA 4ms3872kbC++14365b2024-11-02 16:06:422024-11-02 16:06:42

Judging History

你现在查看的是最新测评结果

  • [2024-11-02 16:06:42]
  • 评测
  • 测评结果:WA
  • 用时:4ms
  • 内存:3872kb
  • [2024-11-02 16:06:42]
  • 提交

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