Revision en1, by ashishranjan2828, 2016-11-02 11:33:12

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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ashishranjan2828 2016-11-02 11:33:12 235 Initial revision (published)