Submission #742353

#TimeUsernameProblemLanguageResultExecution timeMemory
742353oyberDetecting Molecules (IOI16_molecules)C++11
0 / 100
1 ms284 KiB
#include "molecules.h" using namespace std; vector<int> find_subset(int l, int u, vector<int> w) { int n = int(w.size()); int a = w[0]; int m = (l-1)/a+1; bool valid = true; if (m*a > u) valid = false; if (m > n) valid = false; if (!valid) return vector<int>(0); return vector<int>(m, a); }
#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...