issues
search
luogu-dev
/
cyaron
CYaRon: Yet Another Random Olympic-iNformatics test data generator
GNU Lesser General Public License v3.0
1.31k
stars
164
forks
source link
请问如何生成一棵有根树,并以父->子的形式输出
#91
Open
nalemy
opened
2 years ago
nalemy
commented
2 years ago
就类似于
这道题
的形式输出树边。每行两个数 a,b 表示 a 是 b 的父亲。
nalemy
commented
2 years ago
能不能有除了dfs一遍以外的其他方法?
CUICUI2010
commented
2 years ago
Cu Ball
就类似于这道题的形式输出树边。每行两个数 a,b 表示 a 是 b 的父亲。