hhgzeng
hhgzeng
全部文章
分类
归档
标签
去牛客网
登录
/
注册
hhgzeng的博客
全部文章
(共2篇)
题解 | #打家劫舍(一)#
class Solution { public: int rob(vector<int>& nums) { // write code here int n = nums.size(); if (n == 1)return nu...
2023-05-29
1
294
题解 | #最大子矩阵#
#include <iostream> #include <bits/stdc++.h> using namespace std; // 知识点:前缀和 和 动态规划 int main() { int n; cin >> n; int n...
2023-05-29
1
326