I solved squarredsubsequences in c++ after many hours but it is partially accepted.I have a doubt that code is perfect and executed in python and it worked!!!.I have wrote same code . can any one telll what is the mistake i have done in c++ ???
for solution in python ------>click here
for solution in c++ ---------->click here
The culprits are int fi,se
- both of them are not initialized.
I think they are not culprits because they are intialised before their use!!