QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#116028#1. I/O Testmomoyuu100 511ms3348kbC++17758b2023-06-27 23:50:562023-06-27 23:50:58

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:50:58]
  • 评测
  • 测评结果:100
  • 用时:511ms
  • 内存:3348kb
  • [2023-06-27 23:50:56]
  • 提交

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<<a<<endl;
    }
   // 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: 511ms
memory: 3348kb

input:

10000000
443492159 655070167 366054408 257694686 624654062 484831898 861093214 303963643 640698765 221544064 514880763 166897869 859242987 315535975 293538877 229714029 481367628 205292643 700122585 231171986 492783805 817009208 460946856 846224791 647199102 582596103 138062148 784925809 329291680 5...

output:

5500561064597542

result:

points 1.0 input test passed

Subtask #2:

score: 0
output_test Time Limit Exceeded

Test #2:

score: 0
output_test Time Limit Exceeded

input:

10000000

output:

175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537219
175646982537...

result: