QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#220529 | #1. I/O Test | Ritaspon | 100 | 476ms | 3804kb | C++17 | 452b | 2023-10-20 14:59:15 | 2023-10-20 14:59:16 |
Judging History
config.txt
10000000 10000000
input_test
#include <bits/stdc++.h>
#define LL long long
using namespace std;
const int N=5000002;
int a[N],n;
long long ans;
int main()
{
scanf("%d",&n);
for (int i=1;i<=n;++i)
{
scanf("%d",&a[i]);
ans += a[i];
}
printf("%lld\n",ans);
return 0;
}
output_test
#include <bits/stdc++.h>
using namespace std;
int n;
int main()
{
scanf("%d",&n);
for (int i=1;i<=n;++i)
printf("%d ",100000000+i);
printf("\n");
return 0;
}
详细
Subtask #1:
score: 0
input_test Runtime Error
Test #1:
score: 0
input_test Runtime Error
input:
10000000 981648746 705398078 918882505 343367603 527882175 213271800 981554217 777121978 875317261 225275860 230876019 545172529 666648002 393984806 155637887 968562775 562023276 573272874 353787128 612517792 834023158 847537419 881897963 651711090 696939977 839691851 496313370 290965443 977088864 7...
output:
result:
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 476ms
memory: 3804kb
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