Правка en1, от 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

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ashishranjan2828 2016-11-02 11:33:12 235 Initial revision (published)