# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
928737 | Foolestboy | Detecting Molecules (IOI16_molecules) | C++14 | 0 ms | 348 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.
#ifndef SKY
#include "molecules.h"
#endif // SKY
#include<bits/stdc++.h>
using namespace std;
vector<int> find_subset(int low, int high, vector<int> weights) {
vector<int> v;
for (int i = 0; i < weights.size(); i++) v.push_back(i);
return v;
}
#ifdef SKY
int main(void) {
int n, low, high; cin >> n >> low >> high;
vector<int> weights(n, 0);
for (int i = 0; i < n; i++) cin >> weights[i];
vector<int> res = find_subset(low, high, weights);
cout << res.size() << " elements" << endl;
for (int x : res) cout << x << " ";
cout << endl;
}
#endif // SKY
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... |