제출 #488743

#제출 시각아이디문제언어결과실행 시간메모리
488743ala2Detecting Molecules (IOI16_molecules)C++14
0 / 100
0 ms276 KiB
#include "molecules.h" #include<bits/stdc++.h> using namespace std; vector<int> find_subset(int l, int u, vector<int> w) { int n=w.size(); int bb=0; if(w[0]*n<l||w[0]>u) bb=1; int rr=ceil((l*1.0)/(w[0]*1.0)); vector<int>g; if(rr>u&&rr<l) bb=1; if(!bb) for(int i=1;i<rr+1;i++) g.push_back(i); return g; } //15 25 //4 10 10 10 11
#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...