QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#588129 | #1. I/O Test | tumu1t | 200 ✓ | 570ms | 3704kb | C++23 | 1.0kb | 2024-09-25 02:17:30 | 2024-09-25 02:17:30 |
Judging History
config.txt
10000000 10000000
input_test
#include <bits/stdc++.h>
using std::cin, std::cout, std::endl, std::vector, std::pair;
#define int long long
void Solve()
{
int n;
cin >> n;
int sum = 0;
for (int i = 1; i <= n; i++)
{
int tmp;
cin >> tmp;
sum += tmp;
}
cout << sum << endl;
return;
}
int32_t main()
{
std::ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int testcases = 1;
// cin >> testcases;
for (int i = 1; i <= testcases; i++)
Solve();
}
output_test
#include <bits/stdc++.h>
using std::cin, std::cout, std::endl, std::vector, std::pair;
#define int long long
void Solve()
{
int n;
cin >> n;
for (int i = 1; i <= n; i++)
cout << 998'244'353 << " ";
cout << endl;
}
int32_t main()
{
std::ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int testcases = 1;
// cin >> testcases;
for (int i = 1; i <= testcases; i++)
Solve();
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 570ms
memory: 3704kb
input:
10000000 263850636 131381186 579710112 630189088 228193413 913763290 438926985 660526149 229106328 615524491 925286632 930883383 680016453 538928098 804900588 657106374 694318520 959469205 503432912 450851469 169775904 263311351 699376729 130521399 248984850 338903900 943704596 501188760 413748749 7...
output:
5499673799454321
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 431ms
memory: 3656kb
input:
10000000
output:
998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 998244353 ...
result:
points 1.0 output test passed