[The 2015 Shanghai Invitational Programming Contest]Seam Carving
DescriptionFishlikestotakephotowithhisfriends.Severaldaysago,hefoundthatsomepicturesofhimweredamaged.Thetroubleisthattherearesomeseamsacrossthepictures.Sohetriedtorepairthesepictures.Hescannedthesepic