题目描述 题目分析
由题目知其每个品牌积分一定小于315故直接暴力枚举每个品牌如果符合要求直接输出即可
(答案:150)
#include<bits/stdc.h>
using namespace std;
int main()
{for(int i 1; i < 315; i ){for(int j 1; j <…
39.组合总和 本题详解:回溯算法剪枝
class Solution {public List<List<Integer>> combinationSum(int[] candidates, int target) {int len candidates.length;List<List<Integer>> res new ArrayList<>();if (len 0) {return r…
去OceanBase下载若干文件 1 首先安装ob-deploy-2.3.1-2.el7.x86_64.rpm
rpm -ivh ob-deploy-2.3.1-2.el7.x86_64.rpm# 运行此命令的时候他会报错 RPM should not be used directly install RPM packages, use Alien instead! 这个需要用Alien去转换为deb的包,不…