QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#746578#9546. Recover StatisticsNana7#WA 0ms3852kbC++14328b2024-11-14 15:02:272024-11-14 15:02:34

Judging History

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

  • [2024-11-14 15:02:34]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3852kb
  • [2024-11-14 15:02:27]
  • 提交

answer

#include<iostream>
#include<cstdio>
#include<cstring>
#define I inline
using namespace std;


int main()
{
	int a,b,c; cin>>a>>b>>c;
	cout<<100<<endl;
	for(int i=1;i<=a;++i) cout<<a<<' ';
	for(int i=a+1;i<=b;++i) cout<<b<<' ';
	for(int i=b+1;i<=c;++i) cout<<c<<' ';
	for(int i=c+1;i<=100;++i) cout<<1e9<<' '; 
 } 

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3852kb

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 output format Expected integer, but "1e+09" found