QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#830514#1. I/O TestD0000200 ✓613ms1620kbC++14282b2024-12-24 20:16:032024-12-24 20:16:04

Judging History

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

  • [2024-12-24 20:16:04]
  • 评测
  • 测评结果:200
  • 用时:613ms
  • 内存:1620kb
  • [2024-12-24 20:16:03]
  • 提交

config.txt

10000000 10000000

input_test

#include<cstdio>
int n,a;
long long ans;
int main(){
	scanf("%d",&n);
	for(int i=1;i<=n;i++)scanf("%d",&a),ans+=a;
	printf("%lld",ans);
}

output_test

#include<cstdio>
int n,a;
long long ans;
int main(){
	scanf("%d",&n);
	for(int i=1;i<=n;i++)printf("100000001 ");
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 613ms
memory: 1620kb

input:

10000000
883482689 542452943 452529934 993887959 974499219 412329222 786141518 592645835 484671107 249206141 867683682 632467097 138224798 481095602 711540720 520695533 854273007 929277725 944875502 886431106 892454354 801784768 469322387 315533085 922559261 998008966 975539884 642959931 648538341 8...

output:

5499759362180817

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 191ms
memory: 1528kb

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