QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#282428#1. I/O Testuzu_233.0E-5 2ms3600kbC++20566b2023-12-12 00:27:392023-12-12 00:27:40

Judging History

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

  • [2023-12-12 00:27:40]
  • 评测
  • 测评结果:3.0E-5
  • 用时:2ms
  • 内存:3600kb
  • [2023-12-12 00:27:39]
  • 提交

config.txt

5 3

input_test

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

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

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

output_test

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

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

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

    cout << endl;
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3600kb

input:

5
436705771 885661127 516839567 358535907 999560106 

output:

-1097664818

result:

wrong answer expected 3197302478, found -1097664818

Subtask #2:

score: 3e-05
Acceptable Answer

Test #2:

score: 3e-05
Acceptable Answer
time: 2ms
memory: 3388kb

input:

3

output:

100000000 100000001 100000002 

result:

points 0.00000030 output test passed