自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 UVALive 7528(2015德黑兰区域赛) Beehive

UVALive 7528(2015德黑兰区域赛)题目地址:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=695&page=show_problem&problem=5550题目大意: 如图所示,在一个平面上,六边形按图中所示方式排列,问任意两个格子之间需要走多少步才能到达。

2016-03-24 22:49:45 518 1

原创 UVALive 7483 Air Conditioned Minions

uvalive 7483(2015 新加坡区域赛)本来是水题一枚,结果卡了好久,后来换了一中机智的方法过了。https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=5506You are the boss of ACM (Air Conditioned

2016-03-23 19:12:36 777

原创 uvalive 7480 Association for Control Over Minds

uvalive 7480题目大意就是用材料做东西,一个东西可以被完成当且仅当他的材料没被用过或者可以被其他已完成的东西拼成。思路: 利用并查集把每次完成的材料存到这次用到的编号最小的材料那里,并记录好以这个材料开头的并查集的集合元素个数。转移的时候把个数转移过去就行。 对于每一个新东西,先利用并查集把他们变成他们所处集合的集合首,去掉重复元素,然后再加和各个集合元素个数,如果结果

2016-03-23 19:04:28 540

原创 NEU 1666 字符串游戏(巧用map)

**1666: 字符串游戏** 时间限制: 1 Sec 内存限制: 128 MB题目描述说到游戏,大家还是比较喜欢的,但是玩游戏,如果想赢得对方还是得靠思维的,xy比较喜欢字符串,尤其是起始字母等于终止字母这样的字符串(the string’s length must exceed one),但是呢,xy有个癖好,喜欢把每个字符重新分配一个值,喜欢的字符给非负数,不喜欢的字符给负数。但是,xy比

2015-12-20 22:17:37 313

原创 POJ 1511 Invitation Cards

Invitation CardsTime Limit: 8000MS Memory Limit: 262144K DescriptionIn the age of television, not many people attend theater performances. Antique Comedians of Malidinesia are aware of this fact. They

2015-12-17 17:16:23 313

原创 POJ 1125 Stockbroker Grapevine

Time Limit: 1000MS Memory Limit: 10000K DescriptionStockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stockbrokers to

2015-12-08 22:59:35 238

原创 UVALive 6835 - Space Golf

UVALive 6835 - Space GolfTime Limit:3000MS Memory Limit:0KB题目地址:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4847其实就是暴力所有情况,对每个弹跳次数搜索所有障碍高。

2015-12-08 19:28:17 538

原创 csu1569: Wet Tiles

csu1569: Wet TilesTime Limit: 6 Sec Memory Limit: 512 MBDescription:Alice owns a construction company in the town of Norainia, famous for its unusually dry weather. In fact, it only rains a few days

2015-12-08 19:20:12 242

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除