QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#830507 | #1. I/O Test | D0000 | 100 | 628ms | 1576kb | C++14 | 280b | 2024-12-24 20:14:52 | 2024-12-24 20:14:53 |
Judging History
config.txt
10000000 9999999
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: 628ms
memory: 1576kb
input:
10000000 626274310 197028088 831513541 663873714 837348507 435627009 499835007 440716652 865130894 303317459 305053124 889041661 690014633 251752385 833254901 807458057 616687696 885253653 518759114 616767309 307718876 627567427 773067408 285640950 342620700 524737681 840941057 125424285 365374349 1...
output:
5498599758928268
result:
points 1.0 input test passed
Subtask #2:
score: 0
Wrong Answer
Test #2:
score: 0
Wrong Answer
time: 177ms
memory: 1568kb
input:
9999999
output:
100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100000001100...
result:
wrong output format Length of token exceeds 33554432, token is '100000001100000001100000001100...1100000001100000001100000001100...'