QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#220454#1. I/O TestSummer_Sheep100 479ms3348kbC++14402b2023-10-20 13:26:542023-10-20 13:26:56

Judging History

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

  • [2023-10-20 13:26:56]
  • 评测
  • 测评结果:100
  • 用时:479ms
  • 内存:3348kb
  • [2023-10-20 13:26:54]
  • 提交

config.txt

10000000 10000000

input_test

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

output_test

#include<bits/stdc++.h>
#define int long long
using namespace std;
signed main(){
	for(int i=1;i<=10000000;++i){
		cout<<999999999<<" ";
	}
	cout<<endl;
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
input_test Time Limit Exceeded

Test #1:

score: 0
input_test Time Limit Exceeded

input:

10000000
694578296 690700267 258014856 714318388 652834710 622023872 195754365 639166631 771260004 709484108 921426400 792221193 814290129 695180408 427754560 737362452 351481036 286675524 736038783 500603911 495826961 303253885 397761297 501660596 882247776 444272633 207173452 831361753 371944328 9...

output:


result:


Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 479ms
memory: 3348kb

input:

10000000

output:

999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 ...

result:

points 1.0 output test passed