摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5029Problem DescriptionThe soil is cracking up because of the drought and the rabbit kingdom is facing ... 阅读全文
摘要:
Problem DescriptionYou are given a tree with N nodes which are numbered by integers 1..N. Each node is associated with an integer as the weight.Your t... 阅读全文
摘要:
Problem DescriptionAfter eating food from Chernobyl, DRD got a super power: he could clone himself right now! He used this power for several times. He... 阅读全文
摘要:
OI/ACM中经常要用到小数来解决问题(概率、计算几何等),但是小数在计算机中的存储方式是浮点数而不是我们在作数学运算中的数,有精度的限制。 以下以GUN C++为准,其他语言(或编译器)也差不了多少。本文竞赛向。一、基础篇1、一般浮点数使用double,范围为大概为-10^308 ~ 10^... 阅读全文
摘要:
Dr. X is a biologist, who likes rabbits very much and can do everything for them. 2012 is coming, and Dr. X wants to take some rabbits to Noah's Ark, ... 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4069Problem DescriptionToday we play a squigglysudoku, The objective is to fill a 9*9 grid with digits ... 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4064Problem DescriptionCarcassonneis a tile-based board game for two to five players.Square tiles are p... 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4063DescriptionYou are playing a flying game.In the game, player controls an aircraft in a 2D-space.The... 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2993Problem DescriptionConsider a simple sequence which only contains positive integers as a1, a2 ... a... 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4031Problem DescriptionToday is the 10th Annual of “September 11 attacks”, the Al Qaeda is about to att... 阅读全文