QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#116032#1. I/O Testmomoyuu100 538ms3416kbC++17768b2023-06-27 23:53:272023-06-27 23:53:30

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:53:30]
  • 评测
  • 测评结果:100
  • 用时:538ms
  • 内存:3416kb
  • [2023-06-27 23:53:27]
  • 提交

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<<100000000<<" "l;
    }
   // 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: 538ms
memory: 3416kb

input:

10000000
153967925 584888922 729418729 831853565 600100580 254288544 885249897 854707440 469542923 451668946 670338326 746829913 804444032 408901128 734859150 396189157 163665907 638922260 401614824 330893461 999231285 774800525 267843414 644425448 564708821 147165625 512272601 840780215 755330135 6...

output:

5498977053162079

result:

points 1.0 input test passed

Subtask #2:

score: 0
output_test Judgement Failed

Test #2:

score: 0
output_test Judgement Failed

input:

10000000

output:


result: