QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#406037 | #1. I/O Test | d325 | 100 | 648ms | 3796kb | C++14 | 405b | 2024-05-06 19:09:05 | 2024-05-06 19:09:09 |
Judging History
config.txt
10000000 10000000
input_test
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
long long sum=0;
cin>>n;
for(int i=1;i<=n;i++){
int a;
scanf("%d",&a);
sum+=a;
}
cout<<sum;
}
output_test
#include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(false);
int n;
cin>>n;
for(int i=1;i<=n;i++)printf("%d ",1e8+i-1);
}
详细
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 648ms
memory: 3768kb
input:
10000000 690763632 221885100 380482790 941632379 672419874 904322419 239049719 736482303 168175627 647889329 392352962 301919308 451521774 444831592 360827661 223065804 462502121 153091741 178421406 369852380 769396134 392303991 808628844 196093006 867681920 554850078 662904069 173204198 615688729 6...
output:
5500661318024659
result:
points 1.0 input test passed
Subtask #2:
score: 0
Wrong Answer
Test #2:
score: 0
Wrong Answer
time: 390ms
memory: 3796kb
input:
10000000
output:
2004062000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
wrong answer Integer 2004062000 violates the range [10^8, 999999999]