摘要: 题目链接:https://leetcode-cn.com/problems/unique-paths/ 题意:有一个m*n的地图,问从左上角到右下角有多少中路径。 分析:直接用组合,就是C(m+n-2,n)的值。 class Solution { public: int uniquePaths(in 阅读全文
posted @ 2020-12-09 14:03 清酒令 阅读(53) 评论(0) 推荐(0)