摘要:畅通工程续 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,
阅读全文
摘要:Jungle Roads Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description #include <iostream> #include<cstdio> #include<cstring> #incl
阅读全文
摘要:Outlets Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description In China, foreign brand commodities are often much more expensive
阅读全文
摘要:畅通工程再续 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 相信大家都听说一个“百岛湖”的地方吧,百岛湖的居民生活在不同的小岛中,当他们想去其他的小岛时都要通过划小船来实现。现在政府决定大力发
阅读全文
摘要:继续畅通工程 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可)。现得到城镇
阅读全文
摘要:Eddy's picture Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Eddy begins to like painting pictures recently ,he is sure
阅读全文
摘要:Minimal Ratio Tree Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description For a tree, which nodes and edges are all weighted, th
阅读全文
摘要:畅通工程 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可)。经过调查评估,
阅读全文
摘要:还是畅通工程 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 某省调查乡村交通状况,得到的统计表中列出了任意两村庄间的距离。省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不
阅读全文
摘要:Triangle LOVE Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Recently, scientists find that there is love between any of
阅读全文
摘要:产生冠军 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 有一群人,打乒乓球比赛,两两捉对撕杀,每两个人之间最多打一场比赛。球赛的规则如下:如果A打败了B,B又打败了C,而A与C之间没有进行过比
阅读全文
摘要:Legal or Not Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description ACM-DIY is a large QQ group where many excellent acmers get
阅读全文
摘要:Rank of Tetris Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 自从Lele开发了Rating系统,他的Tetris事业更是如虎添翼,不久他遍把这个游戏推向了全球。为了更好的符合那
阅读全文
摘要:Drainage Ditches Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Every time it rains on Farmer John's fields, a pond form
阅读全文
摘要:A Walk Through the Forest Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Jimmy experiences a lot of stress at work these
阅读全文
摘要:最短路 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员把上百件的衣服从商店运回到赛场的时候,却是非常
阅读全文
摘要:Reward Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Dandelion's uncle is a boss of a factory. As the spring festival i
阅读全文
摘要:确定比赛名次 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 有N个比赛队(1<=N<=500),编号依次为1,2,3,。。。。,N进行比赛,比赛结束后,裁判委员会要将所有参赛队伍从前往后依次排
阅读全文
摘要:最短路 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 24 Solved: 17 [Submit][Status][Web Board] Description 在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人
阅读全文
摘要:find the safest road Time Limit: 1 Sec Memory Limit: 128 MB Submit: 11 Solved: 10 [Submit][Status][Web Board] Description XX星球有很多城市,每个城市之间有一条或多条飞行通道,但
阅读全文
摘要:ZOJ 2476 Total Amount Time Limit: 2 Sec Memory Limit: 128 MB Submit: 13 Solved: 6 [Submit][Status][Web Board] Description Given a list of monetary amo
阅读全文
摘要:Basically Speaking Time Limit: 2 Sec Memory Limit: 200 MB Submit: 19 Solved: 11 [Submit][Status][Web Board] Description The Really Neato Calculator Co
阅读全文
摘要:ZOJ Martian Addition Time Limit: 2 Sec Memory Limit: 128 MB Submit: 30 Solved: 14 [Submit][Status][Web Board] Description In the 22nd Century, scienti
阅读全文
摘要:天棋哥哥大战AlphaGo Time Limit: 1 Sec Memory Limit: 128 MB Submit: 20 Solved: 9 [Submit][Status][Web Board] Description 3月15日,人机围棋大战巅峰对决在韩国首尔落下帷幕。五番棋的最后一局中,
阅读全文
摘要:Dogs Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Prairie dog comes again! Someday one little prairie dog Tim wants to
阅读全文
摘要:DNA sequence Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description The twenty-first century is a biology-technology developing
阅读全文
摘要:L2-006. 树的遍历 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 时间限制 400 ms 时间限制 400 ms 内存限制 65536 kB 内存限制 65536 kB 代码长度限制 8000 B 代码长度限制 8000
阅读全文
摘要:L1-006. 连续因子 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 时间限制 400 ms 时间限制 400 ms 内存限制 65536 kB 内存限制 65536 kB 代码长度限制 8000 B 代码长度限制 8000
阅读全文
摘要:Problem A Problem Description Mr. B, Mr. G, Mr. M and their coach Professor S are planning their way to Warsaw for the ACM-ICPC World Finals. Each of
阅读全文
摘要:Spell checker Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 24135 Accepted: 8789 Description You, as a member of a development team for a
阅读全文
摘要:L2-004. 这是二叉搜索树吗? 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 时间限制 400 ms 时间限制 400 ms 内存限制 65536 kB 内存限制 65536 kB 代码长度限制 8000 B 代码长度限制
阅读全文
摘要:翻纸牌游戏 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 有一种纸牌游戏,很有意思,给你N张纸牌,一字排开,纸牌有正反两面,开始的纸牌可能是一种乱的状态(有些朝正,有些朝反),现在你需要整理这
阅读全文
摘要:Game III Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Zjt and Sara will take part in a game, named Game III. Zjt and S
阅读全文
摘要:Counting Sheep Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description A while ago I had trouble sleeping. I used to lie awake, s
阅读全文
摘要:Find a way Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Pass a year learning in Hangzhou, yifenfei arrival hometown Ni
阅读全文
摘要:哈密顿绕行世界问题 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 一个规则的实心十二面体,它的 20个顶点标出世界著名的20个城市,你从一个城市出发经过每个城市刚好一次后回到出发的城市。 In
阅读全文
摘要:A计划 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信
阅读全文
摘要:How many ways Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 这是一个简单的生存游戏,你控制一个机器人从一个棋盘的起始点(1,1)走到棋盘的终点(n,m)。游戏的规则描述如下:1.
阅读全文
摘要:Pie Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description My birthday is coming up and traditionally I'm serving pie. Not just
阅读全文
摘要:Stones Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Because of the wrong status of the bicycle, Sempr begin to walk ea
阅读全文
摘要:逃离迷宫 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,gloria想从迷宫的一个位置走到另外一个位置,当然迷宫中有些地方是空地,
阅读全文
摘要:A strange lift Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description There is a strange lift.The lift can stop can at every flo
阅读全文
摘要:Square Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Given a set of sticks of various lengths, is it possible to join t
阅读全文
摘要:Zipper Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Given three strings, you are to determine whether the third string
阅读全文
摘要:非常可乐 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou
阅读全文
摘要:Sudoku Killer Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 自从2006年3月10日至11日的首届数独世界锦标赛以后,数独这项游戏越来越受到人们的喜爱和重视。据说,在2008北京
阅读全文
摘要:Knight Moves Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description A friend of you is doing research on the Traveling Knight Pr
阅读全文
摘要:Sum It Up Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Given a specified total t and a list of n integers, find all di
阅读全文
摘要:诡异的楼梯 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Hogwarts正式开学以后,Harry发现在Hogwarts里,某些楼梯并不是静止不动的,相反,他们每隔一分钟就变动一次方向. 比如
阅读全文
摘要:FatMouse and Cheese Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description FatMouse has stored some cheese in a city. The city c
阅读全文
摘要:A计划 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信
阅读全文
摘要:I Think I Need a Houseboat Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Fred Mapper is considering purchasing some lan
阅读全文
摘要:连连看 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description “连连看”相信很多人都玩过。没玩过也没关系,下面我给大家介绍一下游戏规则:在一个棋盘中,放了很多的棋子。如果某两个相同的棋子,可以通过一条
阅读全文
摘要:Fire Net Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Suppose that we have a square city with straight streets. A map
阅读全文
摘要:DFS Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description A DFS(digital factorial sum) number is found by summing the factorial
阅读全文
摘要:迷宫城堡 Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description 为了训练小希的方向感,Gardon建立了一座大城堡,里面有N个房间(N<=10000)和M条通道(M<=100000),每个通道都是单向
阅读全文
摘要:Nightmare Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Ignatius had a nightmare last night. He found himself in a laby
阅读全文
摘要:Tempter of the Bone Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description The doggie found a bone in an ancient maze, which fas
阅读全文