QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#543425#1. I/O Test5un_xiaomivita_msg99.99999 532ms3632kbC++14397b2024-09-01 16:47:572024-09-01 16:47:58

Judging History

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

  • [2024-09-01 16:47:58]
  • 评测
  • 测评结果:99.99999
  • 用时:532ms
  • 内存:3632kb
  • [2024-09-01 16:47:57]
  • 提交

config.txt

9999999 9999999

input_test

#include <bits/stdc++.h>
using namespace std;
int main()
{
	ios::sync_with_stdio(false),cin.tie(0),cout.tie(0);
	long long ans=0;
	int n;
	cin>>n;
	for(int i=1;i<=n;i++)
	{
		int x;
		cin>>x;
		ans+=x;
	}
	cout<<ans<<endl;
	return 0;
}

output_test

#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
for(int i=0;i<n;i++){
cout<<9999999<<' ';
}
return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Acceptable Answer

Test #1:

score: 100
Acceptable Answer
time: 532ms
memory: 3632kb

input:

9999999
387023055 343988073 733684683 468445467 641186650 486555788 598994469 791421826 732794100 798780127 535281618 624638172 310115775 522294664 198853326 750065466 702255587 809580369 288067024 928079455 504046387 196659634 788300816 548287513 618622850 260189286 859067857 173907623 530214581 46...

output:

5499460000894768

result:

points 0.99999990 input test passed

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 488ms
memory: 3560kb

input:

9999999

output:

9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999999 9999...

result:

wrong answer Integer 9999999 violates the range [10^8, 999999999]