This is my code : https://www.codechef.com/viewsolution/18896151 i think my approach is ok. but somehow I can't realise the cause of WA. please help!!
Thanks btw.
This is my code : https://www.codechef.com/viewsolution/18896151 i think my approach is ok. but somehow I can't realise the cause of WA. please help!!
Thanks btw.