QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#282772 | #1. I/O Test | ucup-team1769 | 200 ✓ | 496ms | 3624kb | C++20 | 536b | 2023-12-13 01:18:04 | 2023-12-13 01:18:04 |
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);
std::cout.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: 496ms
memory: 3612kb
input:
10000000 231933123 230563420 218698074 762605554 138073136 692100167 902069027 251055668 249613388 989566088 386571285 988819956 848887126 240206879 630099544 463577392 297575405 775964208 977572437 903260397 786033357 604808741 623870947 938923345 223832922 660790505 902722070 611848528 140204750 7...
output:
5500722820597557
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 403ms
memory: 3624kb
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