We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
string noSpace="";
for(int i=0;i<st.length();i++){
if(st[i]!=' '){
noSpace+=st[i];
}
}
int size=noSpace.length();
//cout<<size<<endl;
int fl=floor(sqrt(size));
int cl=ceil(sqrt(size));
int mul=fl*cl;
Encryption
You are viewing a single comment's thread. Return to all comments →
Easy solution
include
using namespace std;
int main() { string st; cin>>st;
// cout<
}