QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#714548#9546. Recover Statistics2366503423WA 1ms3840kbC++14292b2024-11-06 00:02:082024-11-06 00:02:14

Judging History

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

  • [2024-11-06 00:02:14]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3840kb
  • [2024-11-06 00:02:08]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
int main()
{
	long long int a,b,c;cin>>a>>b>>c;
	for(int i=1;i<=100;i++) 
    {
        if(i<=50) cout<<a<<' ';
        else if(i<=95) cout<<b<<' ';
        else if(i<=99) cout<<c<<' ';
        else cout<<1e18<<' ';
    }
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3840kb

input:

50
95
99

output:

50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 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 1e+18 

result:

wrong answer Integer parameter [name=n] equals to 50, violates the range [100, 100000]