QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#542953#1. I/O Testsun_vitamessage200 ✓535ms3652kbC++14403b2024-09-01 11:33:442024-09-01 11:33:45

Judging History

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

  • [2024-09-01 11:33:45]
  • 评测
  • 测评结果:200
  • 用时:535ms
  • 内存:3652kb
  • [2024-09-01 11:33:44]
  • 提交

config.txt

10000000 10000000

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<<100000000<<' ';
}
return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 535ms
memory: 3652kb

input:

10000000
438724092 172615145 225422633 602571748 187274113 139221597 777363476 365331409 672440664 295145855 386070408 579242782 787316673 261186806 604418992 582682003 861112325 689003828 111596459 888321831 532425282 794786534 984974103 399804954 314298649 829548186 734819362 645277080 419881581 8...

output:

5498686014306998

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 507ms
memory: 3636kb

input:

10000000

output:

100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 ...

result:

points 1.0 output test passed