QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#427091#1. I/O Testbycwxbd200 ✓598ms3772kbC++14388b2024-06-01 09:35:312024-06-01 09:35:32

Judging History

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

  • [2024-06-01 09:35:32]
  • 评测
  • 测评结果:200
  • 用时:598ms
  • 内存:3772kb
  • [2024-06-01 09:35:31]
  • 提交

config.txt

10000000 10000000

input_test

#include <bits/stdc++.h>

using namespace std;

int n, x;
long long sum;

int main(){
	cin >> n;
	for(int i = 1; i <= n; i++){
		scanf("%d", &x);
		sum += x;
	}
	cout << sum << endl;
	return 0;
}

output_test

#include <bits/stdc++.h>

using namespace std;

int n;
int main(){
	cin >> n;
	for(int i = 1e8; i < 1e8 + n; i++){
		cout << i << ' ';
	}
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 598ms
memory: 3772kb

input:

10000000
836114632 340586170 927022984 816142355 817558511 642182308 582364770 545556131 723791204 959715455 126653582 707316081 801284717 409946824 808579286 752472490 903805316 360997763 720385532 851615447 616401998 275326358 647789518 869685403 202026162 618092594 649566363 787221986 407831580 7...

output:

5500468493340783

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 521ms
memory: 3600kb

input:

10000000

output:

100000000 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 ...

result:

points 1.0 output test passed