Submission #199266

#TimeUsernameProblemLanguageResultExecution timeMemory
199266monus1042Detecting Molecules (IOI16_molecules)C++17
9 / 100
6 ms376 KiB
#include "molecules.h" using namespace std; vector<int> find_subset(int l, int u, std::vector<int> w) { vector<int> ans; int ss=w.size(); int same=w[0]; for (int i=1; i<=ss; i++){ if (same*i>=l and same*i<=u){ for (int j=0; j<i; j++) ans.push_back(j); break; } } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...