QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#116035#1. I/O Testmomoyuu100 509ms3572kbC++17759b2023-06-27 23:56:122023-06-27 23:56:15

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:56:15]
  • 评测
  • 测评结果:100
  • 用时:509ms
  • 内存:3572kb
  • [2023-06-27 23:56:12]
  • 提交

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<<" ";
    }
   // 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: 509ms
memory: 3572kb

input:

10000000
819837236 545390736 559876803 993173125 854918315 167524560 665719742 887456210 409665699 495537359 393523883 735768133 396512141 304582708 639953486 143118276 482365140 193626702 340562227 950492001 512493430 752025590 844676414 150270252 729261129 888717790 142678852 652421467 464025288 9...

output:

5498782413451176

result:

points 1.0 input test passed

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 462ms
memory: 3396kb

input:

10000000

output:

10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 100...

result:

wrong answer Integer 10000000 violates the range [10^8, 999999999]