제출 #432103

#제출 시각아이디문제언어결과실행 시간메모리
432103MonchitoDetecting Molecules (IOI16_molecules)C++14
9 / 100
1 ms280 KiB
#include "molecules.h" using namespace std; vector<int> find_subset(int l, int u, vector<int> w) { int weight = w[0]; vector<int> ret; bool can=false; for(int i=1; i<=(int)w.size(); i++) { ret.push_back(i-1); if(weight * i >= l && weight * i <= u) { can = true; break; } } return (can)? ret : vector<int>(0); }
#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...