제출 #742370

#제출 시각아이디문제언어결과실행 시간메모리
742370oyberDetecting Molecules (IOI16_molecules)C++14
9 / 100
1 ms292 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+a-1)/a; bool valid = true; if (m*a > u) valid = false; if (m > n) valid = false; if (!valid) return vector<int>(0); vector<int> result; for (int i = 0; i < m; i++) { result.push_back(i); } return result; }
#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...