QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#699247#1. I/O TestChenHanzhang100 605ms3792kbC++14387b2024-11-02 08:01:342024-11-02 08:01:35

Judging History

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

  • [2024-11-02 08:01:35]
  • 评测
  • 测评结果:100
  • 用时:605ms
  • 内存:3792kb
  • [2024-11-02 08:01:34]
  • 提交

config.txt

10000000 10000000

input_test

#include<bits/stdc++.h>
using namespace std;
int main(){
	long long n;
	scanf("%lld",&n);
	long long sum=0; 
	while(n--){
		long long x;
		scanf("%lld",&x);
		sum+=x;
	}
	printf("%lld\n",sum);
	return 0;
}

output_test

#include<bits/stdc++.h>
using namespace std;
int main(){
	long long n;
	scanf("%d",&n);
	while(n--){
		printf("%d ",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: 605ms
memory: 3792kb

input:

10000000
380646229 383152564 117253827 472301135 786655488 538354833 522978642 333100611 237016522 270379511 377483982 826486147 304940945 360631189 343386036 672468062 727018403 125353379 387182067 708031050 766271632 233296848 556576271 575031710 196070101 477377742 180246438 575464585 476526394 8...

output:

5500416645983263

result:

points 1.0 input test passed

Subtask #2:

score: 0
output_test Output Limit Exceeded

Test #2:

score: 0
output_test Output Limit Exceeded

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: