摘要: #include <iostream> #include <cstring> #include <string> #include <cmath> #include <cstdio> #include <stdio.h> #include <cstdlib> #include <algorithm> 阅读全文
posted @ 2020-07-21 10:37 Lazy_tiger 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 注意点:1、其实就是讲所有走每一步的时候求大致值就好,然后这个值又会对下面进行影响,就像自己思考问题一样 2、然后就是需要注意一下边界问题,因为我们这边求最大值,所以需要对边界进行初始化 #include <iostream> #include <cstring> #include <string> 阅读全文
posted @ 2020-07-21 00:42 Lazy_tiger 阅读(165) 评论(0) 推荐(0) 编辑