Submission #108205

# Submission time Handle Problem Language Result Execution time Memory
108205 2019-04-28T05:26:36 Z tictaccat Detecting Molecules (IOI16_molecules) C++14
0 / 100
3 ms 384 KB
#include "molecules.h"

#include <bits/stdc++.h>

using namespace std;

std::vector<int> find_subset(int l, int u, std::vector<int> w) {

    int n = w.size();

    if (l%w[0] == 0 && l/w[0] <= n) {
        return vector<int>(l/w[0],w[0]);
    }

    return std::vector<int>();
}
# Verdict Execution time Memory Grader output
1 Correct 3 ms 384 KB OK (n = 1, answer = NO)
2 Correct 3 ms 256 KB OK (n = 1, answer = NO)
3 Incorrect 2 ms 256 KB Integer 10 violates the range [0, 0]
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 3 ms 256 KB Contestant can not find answer, jury can
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 3 ms 384 KB OK (n = 1, answer = NO)
2 Correct 3 ms 256 KB OK (n = 1, answer = NO)
3 Incorrect 2 ms 256 KB Integer 10 violates the range [0, 0]
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 3 ms 384 KB OK (n = 1, answer = NO)
2 Correct 3 ms 256 KB OK (n = 1, answer = NO)
3 Incorrect 2 ms 256 KB Integer 10 violates the range [0, 0]
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 3 ms 384 KB OK (n = 1, answer = NO)
2 Correct 3 ms 256 KB OK (n = 1, answer = NO)
3 Incorrect 2 ms 256 KB Integer 10 violates the range [0, 0]
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 3 ms 384 KB OK (n = 1, answer = NO)
2 Correct 3 ms 256 KB OK (n = 1, answer = NO)
3 Incorrect 2 ms 256 KB Integer 10 violates the range [0, 0]
4 Halted 0 ms 0 KB -