QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#282431 | #1. I/O Test | uzu_23 | 100 | 511ms | 3308kb | C++20 | 588b | 2023-12-12 00:32:25 | 2023-12-12 00:32:27 |
Judging History
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;
}
Details
Tip: Click on the bar to expand more detailed information
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