摘要:
Description Alice has a sequence A, She wants to split A into as much as possible continuous subsequences, satisfying that for each subsequence, every 阅读全文
摘要:
Problem DescriptionF" title="Problem F">The Head Elder of the tropical island of Lagrishan has a problem. Aburst of foreign aid money was spent on ... 阅读全文
摘要:
Problem Description在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员把上百件的衣服从商店运回到赛场的时候,却是非常累的!所以现在他们想要寻找最短的从商店到赛场的路线,你可以帮助他们吗?Input输入包括多组数据。每组数据第一行是两个... 阅读全文
摘要:
Problem Description省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可)。现得到城镇道路统计表,表中列出了任意两城镇间修建道路的费用,以及该道路是否已经修通的状态。现请你编写程序,计算出全省畅通需要的最低成本... 阅读全文
摘要:
Problem DescriptionEddy begins tolike painting pictures recently ,he is sure of himself to become apainter.Every day Eddy draws pictures in his sma... 阅读全文