计蒜客 等边三角形 dfs

注意: 若是某条边的长度过大,中止对这个分支的搜索,这一个过程称为剪枝。ios #include<iostream> #include<stdio.h> #include<string.h> using namespace std; int n; int sum = 0; bool flag = false; int len[30]; int barrel[4]; void dfs(int in
相关文章
相关标签/搜索