QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#69698 | #1. I/O Test | chenziyang | 100 | 972ms | 42368kb | C++14 | 434b | 2022-12-30 15:19:31 | 2022-12-30 15:19:34 |
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=10e8+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: 972ms
memory: 42368kb
input:
10000000 237726022 153796478 854162193 954572004 735005637 992896535 441351817 149210616 373814263 603221214 588978524 117404984 550478211 705097110 370354315 575060283 922076948 236668293 261556832 602612927 425534477 617102158 222222199 368314105 482559818 438924916 349767599 512977196 798737880 1...
output:
5501850925495142
result:
points 1.0 input test passed
Subtask #2:
score: 0
Wrong Answer
Test #2:
score: 0
Wrong Answer
time: 642ms
memory: 3352kb
input:
10000000
output:
1000000001 1000000002 1000000003 1000000004 1000000005 1000000006 1000000007 1000000008 1000000009 1000000010 1000000011 1000000012 1000000013 1000000014 1000000015 1000000016 1000000017 1000000018 1000000019 1000000020 1000000021 1000000022 1000000023 1000000024 1000000025 1000000026 1000000027 100...
result:
wrong answer Integer 1000000001 violates the range [10^8, 999999999]