QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#826406#1. I/O TestI_like_magic0 237ms3596kbC++14689b2024-12-22 10:15:152024-12-22 10:15:17

Judging History

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

  • [2024-12-22 10:15:17]
  • 评测
  • 测评结果:0
  • 用时:237ms
  • 内存:3596kb
  • [2024-12-22 10:15:15]
  • 提交

config.txt

10000000 10000000

input_test

#include<bits/stdc++.h>
using namespace std;
inline int read() {
    int res = 0, f = 1; char c = getchar();
    while(c != '-' && (c < '0' || c > '9')) c = getchar();
    if(c == '-') f = -1, c = getchar();
    while(c >= '0' && c <= '9') res = res * 10 + c - '0', c = getchar();
    return res * f;
}
int main() {
    int n = read();
    int ans = 0;
    for(int i = 1; i <= n; i ++) {
        int a;
        a = read();
        ans += a;
    }
    cout << ans;
}

output_test

#include<bits/stdc++.h>
using namespace std;
int main() {
    int t = 10000000;
    while(t--) {
        int i = 8;
        while(i --) putchar('1');
        putchar('\n');
    }
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 237ms
memory: 3588kb

input:

10000000
424200567 970116907 642682537 769684923 739530380 758850479 684131773 181534637 729993808 848942697 246223363 205550312 199880785 559737785 113320024 574408450 761619075 449610353 241680187 628080198 764846127 152334389 888454509 810480401 321619843 494892680 582552659 953617633 743842630 1...

output:

611352005

result:

wrong answer expected 5500475033025989, found 611352005

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 232ms
memory: 3596kb

input:

10000000

output:

11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
11111111
111...

result:

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