QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#838050#1. I/O Testfz20271018200 ✓663ms42864kbC++14382b2024-12-30 19:11:172024-12-30 19:11:18

Judging History

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

  • [2024-12-30 19:11:18]
  • 评测
  • 测评结果:200
  • 用时:663ms
  • 内存:42864kb
  • [2024-12-30 19:11:17]
  • 提交

config.txt

10000000 10000000

input_test

#include <iostream>
int n, a[10000001];
long long ans = 0;
int main(){
//	freopen("output_test", "w", stdout);
	scanf("%d", &n);
	for(int i = 0; i < n; ++i){
		scanf("%d", &a[i]);
		ans += a[i];
	}
	printf("%lld", ans);
}

output_test

#include <iostream>
long long n;
int main(){
	scanf("%lld", &n);
	for(int i = 0; i < n; ++i){
		printf("%d ", 100000001);
	}
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 663ms
memory: 42864kb

input:

10000000
911941220 403859107 497206031 720554377 709793995 774138406 959425441 765251555 229101477 767477771 200647523 764985810 283454096 820161666 303396630 753340176 657210616 359142394 697730195 619103544 626895503 136037658 450063039 714679478 567209718 784337579 648845309 449052760 445082447 2...

output:

5499286719940101

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 448ms
memory: 3940kb

input:

10000000

output:

100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 100000001 ...

result:

points 1.0 output test passed