摘要:
拓扑序……好些玄妙 Description Mr. F. wants to get a document be signed by a minister. A minister signs a document only if it is approved by his ministry. The 阅读全文
摘要:
模型概述 有一DAG,问最少加多少条边能够使图强连通。 题目描述 一些学校连入一个电脑网络。那些学校已订立了协议:每个学校都会给其它的一些学校分发软件(称作“接受学校”)。注意即使 B 在 A 学校的分发列表中, A 也不一定在 B 学校的列表中。 你要写一个程序计算,根据协议,为了让网络中所有的学 阅读全文
摘要:
数组溢出真是可怕的事情 Description You are given a strange scale (see the figure below), and you are wondering how to balance this scale. After several attempts, 阅读全文
摘要:
震惊!map的常数居然如此之大 Description Consider equations having the following form: a1x13+ a2x23+ a3x33+ a4x43+ a5x53=0 The coefficients are given integers from 阅读全文