会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Arc
我要背着那重重的壳呀,一步一步地往上爬!
博客园
首页
新随笔
联系
订阅
管理
2021年8月17日
1575. 统计所有可行路径leetcode (dfs+记忆化搜索 转 dp)
摘要: 题目链接 这个题,先来一个裸dfs看看能骗几分: class Solution { public: long long num=0; void dfs(vector<int>& locations, int start,int pre, int finish, int fuel ){ if(fuel
阅读全文
posted @ 2021-08-17 15:22 安之若醇
阅读(92)
评论(0)
推荐(0)
编辑
公告
Live2D服务支持