题目很简单,就是统计一下每层的节点数,输出节点数最多的个数和对应的层数即可. #include <iostream> #include <cstdio> #include <algorithm> #include <string.h> using namespace std; ; int num[maxn]; int head[maxn]; int tot; struct Edge{ int to; int next; }edge[maxn]; void i…
题目1 : Give My Text Back 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 To prepare for the English exam Little Ho collected many digital reading materials. Unfortunately the materials are messed up by a malware. It is known that the original text contains onl…