QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#282435#1. I/O Testuzu_23100 490ms3432kbC++23595b2023-12-12 00:37:412023-12-12 00:37:42

Judging History

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

  • [2023-12-12 00:37:42]
  • 评测
  • 测评结果:100
  • 用时:490ms
  • 内存:3432kb
  • [2023-12-12 00:37:41]
  • 提交

config.txt

10000000 10000000

input_test

// input_test.cpp
#include <iostream>
using namespace std;

int main() {
    int Nin;
    cin >> Nin;
    int num;
    int sum = 0;
    for (int i = 0; i < Nin; ++i) {
        
        cin >> num;
        sum += num;
    }

    cout << sum << endl;
    return 0;
}

output_test

// output_test.cpp
#include <iostream>
using namespace std;

int main() {
    int Nout;
    cin >> Nout;

    for (int i = 0; i < Nout; ++i) {
        // Output N integers in the range [10^8, 10^9)
        cout << (100000000 + i) << " ";
    }

    cout << endl;
    return 0;
}

詳細信息

Subtask #1:

score: 0
input_test Time Limit Exceeded

Test #1:

score: 0
input_test Time Limit Exceeded

input:

10000000
435630279 217360317 387313683 724187867 373427280 176395599 815647865 197768478 624020623 913134506 306451773 475997175 906780489 803539475 543930925 826657129 235870772 179881568 108256356 200642495 625072733 535621888 487371486 697042177 796936275 687877004 475170948 149001029 657454250 7...

output:


result:


Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 490ms
memory: 3432kb

input:

10000000

output:

100000000 100000001 100000002 100000003 100000004 100000005 100000006 100000007 100000008 100000009 100000010 100000011 100000012 100000013 100000014 100000015 100000016 100000017 100000018 100000019 100000020 100000021 100000022 100000023 100000024 100000025 100000026 100000027 100000028 100000029 ...

result:

points 1.0 output test passed