QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#686171#1. I/O Testelaijuh200 ✓603ms1544kbC11388b2024-10-29 04:18:382024-10-29 04:18:39

Judging History

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

  • [2024-10-29 04:18:39]
  • 评测
  • 测评结果:200
  • 用时:603ms
  • 内存:1544kb
  • [2024-10-29 04:18:38]
  • 提交

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 = 100000000;
    for (int i = 0; i < 10000000; ++i) {
        printf("%d\n", n);
    }
    return 0;
}


详细

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 603ms
memory: 1544kb

input:

10000000
731540197 695429850 559621838 410459307 621416714 921663106 785594659 691217745 512196157 810883342 136772044 244709154 187079089 547637572 668848204 711318736 697442505 137128653 993660244 333615382 977384693 363789743 900800657 834899549 661881106 361414297 759209880 942887067 583120199 8...

output:

5500001931308394

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 452ms
memory: 1500kb

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