QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#686169#1. I/O Testelaijuh200 ✓612ms1612kbC++23390b2024-10-29 03:53:122024-10-29 03:53:12

Judging History

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

  • [2024-10-29 03:53:12]
  • 评测
  • 测评结果:200
  • 用时:612ms
  • 内存:1612kb
  • [2024-10-29 03:53:12]
  • 提交

config.txt

10000000 10000000

input_test

#include "stdio.h"

int main() {
    int n, m;
    long long ans = 0;
    scanf("%d", &n);
    while (n--) {
        scanf("%d", &m);
        ans += m;
    }
    printf("%lld\n", ans);
    return 0;
}

output_test

#include "stdio.h"

int main() {
    int n = 100'000'000;
    for (int i = 0; i < 10'000'000; ++i) {
        printf("%d\n", n);
    }
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 612ms
memory: 1612kb

input:

10000000
239148361 958449540 671179277 553210292 910626392 512328982 804114085 877306058 728584028 255867053 826904105 492860952 686142330 561088297 600402408 304004202 287959689 335197382 445195821 742205819 592933273 575834476 241237336 180504282 646971782 910769374 721930878 758149404 458216001 9...

output:

5500804037664758

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 447ms
memory: 1512kb

input:

10000000

output:

100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
100000000
...

result:

points 1.0 output test passed