摘要:
链接:https://leetcode-cn.com/problems/plus-one/ 代码 class Solution { public: vector<int> plusOne(vector<int>& digits) { int t = 1; for (int i = digits.si 阅读全文
posted @ 2020-07-08 21:18
景云ⁿ
阅读(54)
评论(0)
推荐(0)
摘要:
链接:https://leetcode-cn.com/problems/valid-number/submissions/ 代码 class Solution { public: bool isNumber(string s) { int l = 0, r = s.size() - 1; while 阅读全文
posted @ 2020-07-08 21:10
景云ⁿ
阅读(93)
评论(0)
推荐(0)
摘要:
链接:https://leetcode-cn.com/problems/minimum-path-sum/ 代码 class Solution { public: int minPathSum(vector<vector<int>>& grid) { int n = grid.size(); if 阅读全文
posted @ 2020-07-08 20:43
景云ⁿ
阅读(75)
评论(0)
推荐(0)

浙公网安备 33010602011771号