QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#573153 | #1. I/O Test | 7_divided_by_3 | 200 ✓ | 536ms | 3660kb | C++20 | 883b | 2024-09-18 17:32:08 | 2024-09-18 17:32:09 |
Judging History
config.txt
10000000 10000000
input_test
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
void solve()
{
}
void solve1()
{
int n;cin>>n;
ll ans=0;
for(int i=0,x=0;i<n;cin>>x,i++,ans+=x);
cout<<ans;
}
void solve2()
{
int n;cin>>n;
for(int i=0;i<n;i++,cout<<100000000<<' ');
}
int main()
{
ios::sync_with_stdio(false);cin.tie(nullptr);
//int T;cin>>T;while(T--)
solve1();
return 0;
}
output_test
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
void solve()
{
}
void solve1()
{
int n;cin>>n;
ll ans=0;
for(int i=0,x=0;i<n;cin>>x,i++,ans+=x);
cout<<ans;
}
void solve2()
{
int n;cin>>n;
for(int i=0;i<n;i++,cout<<100000000<<' ');
}
int main()
{
ios::sync_with_stdio(false);cin.tie(nullptr);
//int T;cin>>T;while(T--)
solve2();
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: 3612kb
input:
10000000 487705255 554508306 591046926 161793393 632160216 805528251 786673229 983771636 169599468 569638521 479550462 712039980 669680502 917751113 730629333 839055758 438414680 814315581 420425267 336119542 643237151 743655503 787904604 637443400 284599351 884614010 450515639 770777077 488461372 4...
output:
5500034436136825
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 425ms
memory: 3660kb
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