QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#116037#1. I/O Testmomoyuu200 ✓523ms3416kbC++17762b2023-06-27 23:57:102023-06-27 23:57:11

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-06-27 23:57:11]
  • 评测
  • 测评结果:200
  • 用时:523ms
  • 内存:3416kb
  • [2023-06-27 23:57:10]
  • 提交

config.txt

10000000 10000000

input_test

#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<cassert>
using namespace std;
using ll = long long;

int main(){
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    int n;
    cin>>n;
    ll sum = 0;
    for(int i = 0;i<n;i++){
        ll a;
        cin>>a;
        sum += a;
    }
    cout<<sum<<endl;
}

output_test

#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<cassert>
using namespace std;
using ll = long long;

int main(){
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    int n;
    cin>>n;
    ll sum = 0;
    for(int i = 0;i<n;i++){
        ll a;
        //cin>>a;
        cout<<n*10<<" ";
    }
   // cout<<sum<<endl;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 523ms
memory: 3416kb

input:

10000000
847223881 116813843 223644881 302510545 102481383 216607786 975457284 359446096 539379697 465857138 103136936 261453563 606709441 598306942 260509859 919190846 592427914 237306717 495594529 346360121 757735267 133263883 761814413 728605141 610683094 968805674 749605537 103516822 683200127 6...

output:

5501813991118066

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 450ms
memory: 3344kb

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