QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#220523#1. I/O TestRitaspon25 163ms14072kbC++17493b2023-10-20 14:55:502023-10-20 14:55:50

Judging History

你现在查看的是最新测评结果

  • [2023-10-20 14:55:50]
  • 评测
  • 测评结果:25
  • 用时:163ms
  • 内存:14072kb
  • [2023-10-20 14:55:50]
  • 提交

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]