What is wrong with this code?For given inputs it works.
//ONGOING CONTEST!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!!!!
//KEEP CALM AND USE BRAINS AND DO NOT POST CODE HERE
//!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!