{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"给定多张无向图,求出每张图中割点数量"}},{"title":"Input","value":{"format":"MD","content":"多组数据\n每组数据第一行一个n(n\u003c100),当n\u003d0时输入结束\n后面不超过n行,每行第一个数x,当x\u003d0时该组数据结束\nx后面一列数a,ai表示x与ai间有一条无向边\n(若原图中有边a-b,则保证输入中至少会在a后面有b**或者**在b后面有a"}},{"title":"Output","value":{"format":"MD","content":"每组数据输出图中割点数目"}},{"title":"Sample Input","value":{"format":"MD","content":"5\n5 1 2 3 4\n0\n6\n2 1 3\n5 4 6 2\n0\n0"}},{"title":"Sample Output","value":{"format":"MD","content":"1\n2"}}]}