aoapc-book / aoapc-bac2nd

Source codes for book <<<BeginningAlgorithmContests>> Second edition
2.7k stars 1.01k forks source link

9.2.3 有问题 #32

Open bxcxa opened 5 years ago

bxcxa commented 5 years ago

page264页的dp函数,没有s=0时的出口函数,所以把ans设为0和(1<<30)都应该是一样的,都无法区分出出无法到达和已到达重点