| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 1223165 | 12baater | Detecting Molecules (IOI16_molecules) | C++20 | 0 ms | 328 KiB | 
#include "molecules.h"
#include <vector>
using namespace std;
vector<int> find_subset(int l, int u, vector<int> w) {
    vector<int> ans;
    int total = 0;
    for (int i = 0; i < w.size(); i++) {
        total += w[i];
        ans.push_back(i);
        if (total > u) return vector<int>(0);
        if (total >= l) return ans;
    }
    return vector<int>(0);
}
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... | ||||
