QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#220533#1. I/O TestRitaspon200 ✓610ms42756kbC++17453b2023-10-20 15:01:102023-10-20 15:01:11

Judging History

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

  • [2023-10-20 15:01:11]
  • 评测
  • 测评结果:200
  • 用时:610ms
  • 内存:42756kb
  • [2023-10-20 15:01:10]
  • 提交

config.txt

10000000 10000000

input_test

#include <bits/stdc++.h>
#define LL long long
using namespace std;
const int N=10000002;
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;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 610ms
memory: 42756kb

input:

10000000
171743674 630935957 994579339 713891491 725414555 841216443 800357284 110011433 756120454 589186495 177339121 498509212 726627998 309876217 834579037 655106018 586480756 903809555 693416854 861037206 570580977 817574180 584888614 688991492 916069451 366820245 115247218 235294910 787665877 4...

output:

5500547100620159

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 468ms
memory: 3580kb

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