摘要:
Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 15006 Accepted: 6350 Description A sequence of N positive integers (10 < N < 100 000), each 阅读全文
摘要:
题目描述 一些学校连入一个电脑网络。那些学校已订立了协议:每个学校都会给其它的一些学校分发软件(称作“接受学校”)。注意即使 B 在 A 学校的分发列表中, A 也不一定在 B 学校的列表中。 你要写一个程序计算,根据协议,为了让网络中所有的学校都用上新软件,必须接受新软件副本的最少学校数目(子任务 阅读全文
摘要:
Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6740 Accepted: 3276 Description Panda has received an assignment of painting a line of bloc 阅读全文
摘要:
Training little cats Facer's pet cat just gave birth to a brood of little cats. Having considered the health of those lovely cats, Facer decides to ma 阅读全文
摘要:
Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 18043 Accepted: 8742 Description For each prefix of a given string S with N characters (eac 阅读全文
摘要:
UVALive - 3942 Remember the Word Neal is very curious about combinatorial problems, and now here comes a problem about words. Knowing that Ray has a p 阅读全文