QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#116027#1. I/O Testmomoyuu100 524ms3480kbC++17751b2023-06-27 23:49:272023-06-27 23:49:28

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:49:28]
  • 评测
  • 测评结果:100
  • 用时:524ms
  • 内存:3480kb
  • [2023-06-27 23:49: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;
        sum += a;
    }
    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: 524ms
memory: 3408kb

input:

10000000
801543274 986125687 284251075 332239808 600278885 690303482 826090769 412753075 753674821 375448235 408853884 481766130 294237622 380966908 247064444 967631274 422726054 103027495 408644172 575673797 102855715 596680258 925191728 548707014 788149677 931926753 627107734 402551330 622860053 6...

output:

5499629289512955

result:

points 1.0 input test passed

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 61ms
memory: 3480kb

input:

10000000

output:

3502481824394077184

result:

wrong output format Expected int32, but "3502481824394077184" found