QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#32145#1. I/O TestRcX9GLlqXIOSDE100 222ms3604kbC++23495b2022-05-17 20:13:542022-05-17 20:17:16

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:16]
  • 评测
  • 测评结果:100
  • 用时:222ms
  • 内存:3604kb
  • [2022-05-17 20:13:54]
  • 提交

config.txt

0
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";
	}
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Skipped

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 222ms
memory: 3604kb

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