QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#32145 | #1. I/O Test | RcX9GLlqXIOSDE | 100 | 222ms | 3604kb | C++23 | 495b | 2022-05-17 20:13:54 | 2022-05-17 20:17:16 |
Judging History
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