QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#714246#1. I/O TestCore_65536100 562ms3640kbC++23714b2024-11-05 22:14:582024-11-05 22:15:06

Judging History

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

  • [2024-11-05 22:15:06]
  • 评测
  • 测评结果:100
  • 用时:562ms
  • 内存:3640kb
  • [2024-11-05 22:14:58]
  • 提交

config.txt

10000000 10000000

input_test

#include <bits/stdc++.h>
using namespace std;
#define endl '\n'

int main(){
    ios::sync_with_stdio(0);
    cin.tie(0); cout.tie(0);
    register int n;  cin>>n;
    register long long ans = 0;
    while(n--){
        register long long x;  cin>>x;
        ans += x;
    }
    cout<<ans<<endl;
}

output_test

#include <bits/stdc++.h>
using namespace std;
#define endl '\n'

int main(){
    ios::sync_with_stdio(0);
    cin.tie(0); cout.tie(0);
    register int n;  cin>>n;
    while(n--){
        cout<<10000000<<endl;
    }
    // register long long ans = 0;
    // while(n--){
    //     register long long x;  cin>>x;
    //     ans += x;
    // }
    // cout<<ans<<endl;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 562ms
memory: 3640kb

input:

10000000
183661850 151147280 324919819 682538465 987326546 605597697 245363872 254209304 232280136 569055433 869221797 228995866 625570016 812545418 690821508 549502746 102384277 905661905 720008345 882460691 100204708 466425697 428348660 908761989 862500598 896104996 787179625 801273537 798941580 5...

output:

5500125693528916

result:

points 1.0 input test passed

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 429ms
memory: 3640kb

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]