제출 #742366

#제출 시각아이디문제언어결과실행 시간메모리
742366oyberDetecting Molecules (IOI16_molecules)C++14
0 / 100
1 ms212 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); 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...