stdin:首行 N M;随后 M 行 u v(有向边,顶点 0..N-1)。打印所有顶点 |入度 − 出度| 的最大值。
Single-file C (gcc -O0 -Wall). Self-contained reframing of the exam's ADT-completion question. From COMP2521 24T2 Sample.
stdin:首行 N M;随后 M 行 u v(有向边,顶点 0..N-1)。打印所有顶点 |入度 − 出度| 的最大值。
Single-file C (gcc -O0 -Wall). Self-contained reframing of the exam's ADT-completion question. From COMP2521 24T2 Sample.