此贴已结,另警示后人: subtask A 是统计的入度而这里我写成了出度 另外特判是tot == 1而不是tot == 0(仅限类似我这个写法,第一篇题解是直接判0了) by Stevehim @ 2023-06-24 22:45:05