QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#543431#1. I/O Test5un_xiaomivita_msg200 ✓532ms3644kbC++14401b2024-09-01 16:49:102024-09-01 16:49:15

Judging History

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

  • [2024-09-01 16:49:15]
  • 评测
  • 测评结果:200
  • 用时:532ms
  • 内存:3644kb
  • [2024-09-01 16:49:10]
  • 提交

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: 532ms
memory: 3644kb

input:

10000000
479291217 771656583 208123264 513841775 320330017 952861939 709601425 842236651 339070972 615054548 466665506 607075175 791041777 528527868 454918531 809137297 674914403 139964281 168818056 356912284 241667649 480547161 428032418 281515048 791655577 227127473 764462589 585919749 750337773 3...

output:

5499371942087028

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 490ms
memory: 3540kb

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