题解列表
信息学奥赛一本通T1552-点的距离 树链剖分求LCA
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"usingnamespacestd;#definell&nb……
糖果游戏——Java语言
摘要:import java.util.Scanner;public class Main { public static void main(String[] args) { ……
背包问题变体 将单一传递性转为服务于条件的搭配组合
摘要:声明:代码收教于[Lyrith_with_xQ](https://www.luogu.com.cn/problem/solution/P12160 "Lyrith_with_xQ")1.先读题目……
3089:扩展二叉树
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>typedefstruct&nb……
DFS集合set实现
摘要:解题思路: 用集合,记载路径中的字符。结合深度优先搜索实现。注意事项:参考代码://LETTERS 深搜与回溯#include <bits/s……
2046输出全排列 c++:next_permutation()与do while笔记
摘要:解题思路:next_permutation()给出下一个序列在全排列中的下一个序列注意事项:参考代码:#include<bits/stdc++.h>using namespac……