QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#220523 | #1. I/O Test | Ritaspon | 25 | 163ms | 14072kb | C++17 | 493b | 2023-10-20 14:55:50 | 2023-10-20 14:55:50 |
Judging History
config.txt
2500000 2500000
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>
#define LL long long
using namespace std;
const int N=5000002;
int a[N],n;
int main()
{
scanf("%d",&n);
for (int i=1;i<=n;++i)
printf("%d ",1e8+n);
printf("\n");
return 0;
}
详细
Subtask #1:
score: 25
Acceptable Answer
Test #1:
score: 25
Acceptable Answer
time: 163ms
memory: 14072kb
input:
2500000 455867649 742220914 142798900 280532305 457003006 916109105 862799989 403159692 234411597 783813181 921663294 624480137 509635395 696138435 475090413 601700422 899985380 869521246 710071558 445176042 347426822 442565258 374541240 800330144 515784318 888394229 566644329 100072844 717878605 36...
output:
1375712830483174
result:
points 0.250 input test passed
Subtask #2:
score: 0
Wrong Answer
Test #2:
score: 0
Wrong Answer
time: 113ms
memory: 3860kb
input:
2500000
output:
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 0 0 0 0 0 ...
result:
wrong answer Integer 0 violates the range [10^8, 999999999]