QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#716183#9546. Recover Statisticsblhxzjr#WA 0ms3548kbC++23368b2024-11-06 14:37:472024-11-06 14:37:48

Judging History

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

  • [2024-11-06 14:37:48]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3548kb
  • [2024-11-06 14:37:47]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;

const int N=2e5+10;

int n,m,k,q;

signed main(){
	ios::sync_with_stdio(0),cin.tie(0);
	int a,b,c;
	cin>>a>>b>>c;
	n=2*a;
	cout<<n<<endl;
	for(int i=1;i<=a;i++) cout<<a<<' ';
	for(int i=1;i<=n*0.4;i++) cout<<b<<' ';
	for(int i=1;i<=n*0.05;i++) cout<<c<<' ';
	for(int i=1;i<=n*0.05;i++) cout<<c+1<<' ';
}  

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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 99 99 99 99 99 100 100 100...

result:

wrong answer wrong p95: 90 / 100