QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#573153#1. I/O Test7_divided_by_3200 ✓536ms3660kbC++20883b2024-09-18 17:32:082024-09-18 17:32:09

Judging History

你现在查看的是最新测评结果

  • [2024-09-18 17:32:09]
  • 评测
  • 测评结果:200
  • 用时:536ms
  • 内存:3660kb
  • [2024-09-18 17:32:08]
  • 提交

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