QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#830506 | #1. I/O Test | D0000 | 100 | 591ms | 1580kb | C++14 | 281b | 2024-12-24 20:14:25 | 2024-12-24 20:14:25 |
Judging History
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");
}
详细
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...'