QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#725581 | #1. I/O Test | KaTeX | 200 ✓ | 533ms | 3684kb | C++20 | 571b | 2024-11-08 18:52:19 | 2024-11-08 18:52:19 |
Judging History
config.txt
10000000 10000000
input_test
#include <bits/stdc++.h>
#define ll long long
using namespace std;
void init();
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
init();
return 0;
}
void init() {
int n;
cin>>n;
ll sum=0;
for(int i=1; i<=n; ++i) {
int a;
cin>>a;
sum+=a;
}
cout<<sum<<'\n';
}
output_test
#include <bits/stdc++.h>
#define ll long long
using namespace std;
const int N=1e7,P=1e8+7;
void init();
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
init();
return 0;
}
void init() {
for(int i=1; i<=N; ++i) cout<<P<<' ';
cout<<'\n';
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 533ms
memory: 3684kb
input:
10000000 168396559 722815605 424062221 633390701 612566016 541547235 258053249 741305040 544373163 491968558 343415553 765484948 785030425 402519651 769242494 524526059 437409353 719780246 644342084 219290944 567785728 635676577 458053741 145759673 175776390 989637736 819997033 928751554 855929145 1...
output:
5500481915453270
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 461ms
memory: 3620kb
input:
10000000
output:
100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 ...
result:
points 1.0 output test passed