QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#454713#1. I/O TestSamHH0912200 ✓521ms3604kbC++14502b2024-06-25 10:48:322024-06-25 10:48:32

Judging History

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

  • [2024-06-25 10:48:32]
  • 评测
  • 测评结果:200
  • 用时:521ms
  • 内存:3604kb
  • [2024-06-25 10:48:32]
  • 提交

config.txt

10000000 10000000

input_test

#include <bits/stdc++.h>
using namespace std;
#define LL long long

int main(){
	ios::sync_with_stdio(0);
	cin.tie(nullptr),cout.tie(nullptr);
	int n;LL ans=0;
	cin>>n;
	while(n--){
		int a;
		cin>>a;
		ans+=a;
	}
	cout<<ans<<'\n';
	return 0;
}

output_test

#include <bits/stdc++.h>
using namespace std;
#define LL long long

int main(){
	ios::sync_with_stdio(0);
	cin.tie(nullptr),cout.tie(nullptr);
	for(int i=1;i<=1e7;i++) cout<<837745520<<' ';
	cout<<'\n';
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 521ms
memory: 3448kb

input:

10000000
508318735 714950321 684113529 403737987 637011045 937985724 983524881 650537090 707707224 683563491 108567982 562084264 198137391 685664231 296739798 943318104 579917841 686352218 902574566 373449430 184410759 488049983 901720936 145077460 184444381 648145373 736581502 245250373 838669305 2...

output:

5499261674501589

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 452ms
memory: 3604kb

input:

10000000

output:

837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 837745520 ...

result:

points 1.0 output test passed