Submission #651281

# Submission time Handle Problem Language Result Execution time Memory
651281 2022-10-18T06:18:14 Z erke Detecting Molecules (IOI16_molecules) C++11
0 / 100
1 ms 212 KB
#include "molecules.h"

std::vector<int> find_subset(int l, int u, std::vector<int> w) {
    for (auto &i : w) {
        if (i >= l && i <= u) {
            return std::vector<int>({i});
        }
    }
    return std::vector<int>(0);
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB OK (n = 1, answer = NO)
2 Correct 1 ms 212 KB OK (n = 1, answer = NO)
3 Incorrect 1 ms 212 KB Integer 10 violates the range [0, 0]
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Contestant can not find answer, jury can
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB OK (n = 1, answer = NO)
2 Correct 1 ms 212 KB OK (n = 1, answer = NO)
3 Incorrect 1 ms 212 KB Integer 10 violates the range [0, 0]
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB OK (n = 1, answer = NO)
2 Correct 1 ms 212 KB OK (n = 1, answer = NO)
3 Incorrect 1 ms 212 KB Integer 10 violates the range [0, 0]
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB OK (n = 1, answer = NO)
2 Correct 1 ms 212 KB OK (n = 1, answer = NO)
3 Incorrect 1 ms 212 KB Integer 10 violates the range [0, 0]
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB OK (n = 1, answer = NO)
2 Correct 1 ms 212 KB OK (n = 1, answer = NO)
3 Incorrect 1 ms 212 KB Integer 10 violates the range [0, 0]
4 Halted 0 ms 0 KB -