QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#282431#1. I/O Testuzu_23100 511ms3308kbC++20588b2023-12-12 00:32:252023-12-12 00:32:27

Judging History

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

  • [2023-12-12 00:32:27]
  • 评测
  • 测评结果:100
  • 用时:511ms
  • 内存:3308kb
  • [2023-12-12 00:32:25]
  • 提交

config.txt

5 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
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3300kb

input:

5
840154225 278596163 639223280 294697616 456755954 

output:

-1785540058

result:

wrong answer expected 2509427238, found -1785540058

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 511ms
memory: 3308kb

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