【动态规划 前缀和】1997. 访问完所有房间的第一天https://blog.csdn.net/he_zhidan/article/details/139880320?spm=1001.2014.3001.5501