QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#69699 | #1. I/O Test | chenziyang | 200 ✓ | 856ms | 42484kb | C++14 | 433b | 2022-12-30 15:21:03 | 2022-12-30 15:21:06 |
Judging History
config.txt
10000000 10000000
input_test
#include<iostream>
using namespace std;
int a[10000001];
long long ans=0;
int main(){
ios::sync_with_stdio(false);
int n;
cin>>n;
for(int i=1;i<=n;i++){
cin>>a[i];
ans+=a[i];
}
cout<<ans;
}
output_test
#include<iostream>
using namespace std;
int a[10000001];
long long ans=1e8+1;
int main(){
ios::sync_with_stdio(false);
int n;
cin>>n;
for(int i=1;i<=n;i++){
cout<<ans<<" ";
ans++;
}
}
詳細信息
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 856ms
memory: 42484kb
input:
10000000 473327438 233061189 339147316 378838985 542126234 363157235 206853804 731971072 879124149 681587864 871825840 563822952 820793582 637483631 221597246 324639739 584157408 791222435 793186762 167586802 905058806 824963829 216723553 636821421 134167975 745028806 285084995 702795463 305666020 1...
output:
5499953932618323
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 687ms
memory: 3448kb
input:
10000000
output:
100000001 100000002 100000003 100000004 100000005 100000006 100000007 100000008 100000009 100000010 100000011 100000012 100000013 100000014 100000015 100000016 100000017 100000018 100000019 100000020 100000021 100000022 100000023 100000024 100000025 100000026 100000027 100000028 100000029 100000030 ...
result:
points 1.0 output test passed