Please read the new rule regarding the restriction on the use of AI tools. ×

ashishranjan2828's blog

By ashishranjan2828, history, 8 years ago, In English

http://ideone.com/XwHMrW

my solution is working fine for first test case and for second test answer should be 508 but it is giving 494... i have used lazy propagation concept...

plz help