QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#32146 | #1. I/O Test | RcX9GLlqXIOSDE | 100 | 7ms | 101392kb | C++23 | 434b | 2022-05-17 20:18:29 | 2022-05-17 20:18:32 |
Judging History
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);
}
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: 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