摘要: # 洛谷100题计划(25/100) ## [P1164 小A点菜 - 洛谷 | 计算机科学教育新生态 (luogu.com.cn)](https://www.luogu.com.cn/problem/P1164) **01背包模版题(?** **$dp[j]$表示剩$j$元时有多少种点菜方案,$d 阅读全文
posted @ 2023-09-08 23:29 Ke_scholar 阅读(2) 评论(0) 推荐(0) 编辑
摘要: # 洛谷100题计划(20/100) ## [P1147 连续自然数和 - 洛谷 | 计算机科学教育新生态 (luogu.com.cn)](https://www.luogu.com.cn/problem/P1147) **题意就是找一段连续的区间,使得区间和为$M$,很容易发现,其实这个区间就是一 阅读全文
posted @ 2023-09-08 23:11 Ke_scholar 阅读(8) 评论(0) 推荐(0) 编辑