QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#179882 | #1. I/O Test | Summer_Sheep | 200 ✓ | 536ms | 81564kb | C++14 | 535b | 2023-09-15 12:33:30 | 2023-09-15 12:33:32 |
Judging History
config.txt
10000000 10000000
input_test
#include<bits/stdc++.h>
#define int long long
using namespace std;
int n,a[10000001],sum;
signed main()
{
ios::sync_with_stdio(false);
cin.tie(0);cout.tie(0);
cin>>n;
for(int i=1;i<=n;++i)
{
cin>>a[i];
sum+=a[i];
}
cout<<sum<<endl;
return 0;
}
output_test
#include<bits/stdc++.h>
#define int long long
using namespace std;
int n,a[10000001],sum;
signed main()
{
ios::sync_with_stdio(false);
cin.tie(0);cout.tie(0);
cin>>n;
for(int i=1;i<=n;++i)
{
cout<<"100000000 ";
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 536ms
memory: 81564kb
input:
10000000 869040607 499175717 740465728 391627598 575158559 214271906 523214214 131771431 103994390 968110291 796183393 417315153 605460221 118047288 837329555 850499467 629848814 504801009 149502926 699827124 470969956 422576432 643672260 328164958 312362971 288018512 399138857 291621997 952368878 6...
output:
5501221703604606
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 173ms
memory: 3444kb
input:
10000000
output:
100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 ...
result:
points 1.0 output test passed