You are viewing a single comment's thread. Return to all comments →
int entry=0;int exit=0; vector<int>res(cases.size(),5); for (int i=0;i<cases.size();++i){ entry = cases[i][0]; exit = cases[i][1]; for (int j=entry;j<=exit;++j) if (width[j] < res[i]) res[i]=width[j]; } return res;
Seems like cookies are disabled on this browser, please enable them to open this website
Service Lane
You are viewing a single comment's thread. Return to all comments →