# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1054472 | kiryl_krutsko | Safety (NOI18_safety) | C++14 | 2090 ms | 262144 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <iostream>
#include <vector>
#include <climits>
using namespace std;
void out(vector<vector<int> >* results) {
cout << endl;
for (int i = 0; i < results->size(); i++) {
for (int j = 0; j < results->at(i).size(); j++) {
cout << results->at(i)[j] << " ";
}
cout << endl;
}
}
int main()
{
int n, H;
int maxh = 0;
cin >> n >> H;
vector<int> input;
int in;
for (int i = 0; i < n; i++) {
cin >> in;
if (in > maxh) maxh = in;
input.push_back(in);
}
vector<vector<int> > results(2, vector<int> (maxh + 1));
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |