Click Here to see the problem detail.

Solution

It is suggested you to read the problem first. Try to solved yourself then see the source code. Don’t copy paste.

Source Code

 

 

 

 


Next Previous