QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#32144#1. I/O TestRcX9GLlqXIOSDE200 ✓957ms3736kbC++23502b2022-05-17 20:12:372022-05-17 20:17:03

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-05-17 20:17:03]
  • 评测
  • 测评结果:200
  • 用时:957ms
  • 内存:3736kb
  • [2022-05-17 20:12:37]
  • 提交

config.txt

10000000
10000000

input_test

#include <bits/stdc++.h>

using namespace std;

int main() {
	ios::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);
	int n, x; long long sum = 0;
	cin >> n;
	while (n--) {
		cin >> x;
		sum += x;
	}
	std::cout << sum << '\n';
}

output_test

#include <bits/stdc++.h>

using namespace std;

int main() {
	ios::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);
	int n, x; long long sum = 0;
	cin >> n;
	while (n--) {
		cout << "123456789\n";
	}
}

详细

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 957ms
memory: 3736kb

input:

10000000
771733547 963745003 899458649 928917942 141488624 842178171 751506938 148195545 631355740 805420298 935834948 479618812 667473366 456378732 236035440 529965359 792809038 343411196 601246487 386267845 271417076 222701793 531316482 130938392 353291504 623268166 178121742 555612397 518250295 2...

output:

5499305246464816

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 208ms
memory: 3612kb

input:

10000000

output:

123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
...

result:

points 1.0 output test passed