难度:easy In many cases, print statements will be sufficient to debug your kernel, but sometimes being able to single step through some assembly code or inspecting the variables on the stack is helpful. To learn more about how to run GDB and the common iss…
题目描述
“蓝桥杯”练习系统 (lanqiao.cn) 题目分析
首先想到的方法为dfs去寻找每一个数,但发现会有超时
#include<bits/stdc.h>
using namespace std;
const int N 2e5 10;
int n, cnt, a[N];
void dfs(int dep, int sum, int start)
{if(dep 4){if(s…