QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#282771 | #1. I/O Test | ucup-team1769 | 200 ✓ | 492ms | 3448kb | C++20 | 510b | 2023-12-13 01:15:21 | 2023-12-13 01:15:23 |
Judging History
config.txt
10000000 10000000
input_test
#include <bits/stdc++.h>
using i64 = long long;
int main() {
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
int n;
std::cin >> n;
i64 ans = 0;
for (int i = 0; i < n; i++) {
int x;
std::cin >> x;
ans += x;
}
std::cout << ans << "\n";
}
output_test
#include <bits/stdc++.h>
int main() {
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
int x = 100000000;
for (int i = 0; i < 10000000; i++) {
std::cout << x + i << " \n"[i == 999999];
}
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 492ms
memory: 3396kb
input:
10000000 109154557 760138183 969878674 614835034 782469241 734902298 226652083 408406274 263426681 650332552 795678983 974501048 993702045 544744591 192564164 209625854 484165254 979629274 818598755 838595026 399763081 347130188 783418099 530289265 258894995 739025812 677003417 611015430 990664995 6...
output:
5500478726875236
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 418ms
memory: 3448kb
input:
10000000
output:
100000000 100000001 100000002 100000003 100000004 100000005 100000006 100000007 100000008 100000009 100000010 100000011 100000012 100000013 100000014 100000015 100000016 100000017 100000018 100000019 100000020 100000021 100000022 100000023 100000024 100000025 100000026 100000027 100000028 100000029 ...
result:
points 1.0 output test passed