QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#830506#1. I/O TestD0000100 591ms1580kbC++14281b2024-12-24 20:14:252024-12-24 20:14:25

Judging History

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

  • [2024-12-24 20:14:25]
  • 评测
  • 测评结果:100
  • 用时:591ms
  • 内存:1580kb
  • [2024-12-24 20:14:25]
  • 提交

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: 591ms
memory: 1580kb

input:

10000000
375602449 484858737 109431915 983202732 153865592 312228169 745659300 513169680 348790483 202215668 151429942 101022337 743162015 577470629 389997784 907681409 197436481 796844523 598935131 313463858 356976071 342339329 729633205 248029986 482970700 636640795 355865974 993574297 263005471 1...

output:

5500743364644180

result:

points 1.0 input test passed

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 183ms
memory: 1508kb

input:

10000000

output:

100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100...

result:

wrong output format Length of token exceeds 33554432, token is '100000001100000001100000001100...1100000001100000001100000001100...'