QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#220528#1. I/O TestRitaspon80 243ms19864kbC++17450b2023-10-20 14:58:192023-10-20 14:58:21

Judging History

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

  • [2023-10-20 14:58:21]
  • 评测
  • 测评结果:80
  • 用时:243ms
  • 内存:19864kb
  • [2023-10-20 14:58:19]
  • 提交

config.txt

4000000 4000000

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: 40
Acceptable Answer

Test #1:

score: 40
Acceptable Answer
time: 243ms
memory: 19864kb

input:

4000000
343036474 305389184 204787783 212608915 531491489 687185843 429810540 392536926 882549948 827785054 784786983 219132567 353043237 276701923 484288754 706087654 656576283 754719535 426524795 148717292 882237965 704848089 768879384 724663363 867040023 981714920 979750033 600724339 935972119 17...

output:

2200465397934389

result:

points 0.40 input test passed

Subtask #2:

score: 40
Acceptable Answer

Test #2:

score: 40
Acceptable Answer
time: 172ms
memory: 3856kb

input:

4000000

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 0.40 output test passed