You are viewing a single comment's thread. Return to all comments →
//using c++
int designerPdfViewer(vector h, string word) {
int n1=word.size(); int i,j,larg=0; for( i=0;i<n1;i++){ j= word[i]-'a'; larg=max(h[j],larg); } int area=larg*n1; return area;
}
Seems like cookies are disabled on this browser, please enable them to open this website
Designer PDF Viewer
You are viewing a single comment's thread. Return to all comments →
//using c++
int designerPdfViewer(vector h, string word) {
}