QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#32146#1. I/O TestRcX9GLlqXIOSDE100 7ms101392kbC++23434b2022-05-17 20:18:292022-05-17 20:18:32

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:18:32]
  • 评测
  • 测评结果:100
  • 用时:7ms
  • 内存:101392kb
  • [2022-05-17 20:18:29]
  • 提交

config.txt

0
10000000

input_test


output_test

#include <bits/stdc++.h>

using namespace std;

const int T = 1.1e8;
char q[T];

int main() {
	ios::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);
	int n, x; long long sum = 0;
	cin >> n;
	int p=0;
	while (n--) {
		q[p++]='1';
		q[p++]='1';
		q[p++]='1';
		q[p++]='1';
		q[p++]='1';
		q[p++]='1';
		q[p++]='1';
		q[p++]='1';
		q[p++]='1';
		q[p++]=' ';
	}
	fwrite(q,1,p,stdout);
}

詳細信息

Subtask #1:

score: 0
Skipped

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 7ms
memory: 101392kb

input:

10000000

output:

111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 ...

result:

points 1.0 output test passed