随笔分类 -  HDU

Fibonacci Tree 最小生成树
摘要:Fibonacci TreeTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 434Accepted Submission(s): 146Problem Description Coach Pang is interested in Fibonacci numbers while Uncle Yang wants him to do some research on Spanning Tree. So Coach Pang decides to. 阅读全文

posted @ 2013-11-27 16:27 keep trying 阅读(259) 评论(0) 推荐(0)

Bit Magic HDU 4421 2-Sat
摘要:Bit MagicTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1383Accepted Submission(s): 398Problem DescriptionYesterday, my teacher taught me about bit operators: and (&), or (|), xor (^). I generated a number table a[N], and wrote a program to ca 阅读全文

posted @ 2013-10-29 16:48 keep trying 阅读(203) 评论(0) 推荐(0)

Yukari's Birthday 枚举+二分 过程注意数据的溢出问题 HDU4430
摘要:Yukari's BirthdayTime Limit: 12000/6000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1993Accepted Submission(s): 404Problem DescriptionToday is Yukari's n-th birthday. Ran and Chen hold a celebration party for her. Now comes the most important part, birthday 阅读全文

posted @ 2013-10-25 20:50 keep trying 阅读(767) 评论(0) 推荐(0)

The Little Girl who Picks Mushrooms HDU 4422 水题类似模拟的一种感觉
摘要:The Little Girl who Picks MushroomsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1070Accepted Submission(s): 346Problem DescriptionIt's yet another festival season in Gensokyo. Little girl Alice planned to pick mushrooms in five mountains. Sh 阅读全文

posted @ 2013-10-22 18:03 keep trying 阅读(273) 评论(0) 推荐(0)

Sum of divisors HDU 4432 简单数学题
摘要:Sum of divisorsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2461Accepted Submission(s): 889Problem Descriptionmmm is learning division, she's so proud of herself that she can figure out the sum of all the divisors of numbers no larger than 1 阅读全文

posted @ 2013-10-20 18:07 keep trying 阅读(195) 评论(0) 推荐(0)

Mahjong HDU4431 略有难度的恶心模拟题
摘要:MahjongTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3110Accepted Submission(s): 620Problem DescriptionJapanese Mahjong is a four-player game. The game needs four people to sit around a desk and play with a set of Mahjong tiles. A set of Mahjong 阅读全文

posted @ 2013-10-20 18:04 keep trying 阅读(341) 评论(0) 推荐(0)

Dressing HDU 4451简单数学题
摘要:DressingTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1925Accepted Submission(s): 831Problem DescriptionWangpeng has N clothes, M pants and K shoes so theoretically he can have N×M×K different combinations of dressing.One day he wears h 阅读全文

posted @ 2013-10-17 23:03 keep trying 阅读(212) 评论(0) 推荐(0)

Aeroplane chess HDU 4405 概率期望DP
摘要:Aeroplane chessTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 945Accepted Submission(s): 646Problem DescriptionHzz loves aeroplane chess very much. The chess map contains N+1 grids labeled from 0 to N. Hzz starts at grid 0. For each step he throws 阅读全文

posted @ 2013-10-17 19:23 keep trying 阅读(230) 评论(0) 推荐(0)

Candy HDU 4665 概率期望问题
摘要:CandyTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1159Accepted Submission(s): 508Special JudgeProblem DescriptionLazyChild is a lazy child who likes candy very much. Despite being very young, he has two large candy boxes, each contains n candies 阅读全文

posted @ 2013-10-16 19:42 keep trying 阅读(508) 评论(0) 推荐(0)

An Easy Task HDU 1076
摘要:An Easy TaskTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11906Accepted Submission(s): 7509Problem DescriptionIgnatius was born in a leap year, so he want to know when he could hold his birthday party. Can you tell him?Given a positive integers Y 阅读全文

posted @ 2013-10-08 12:36 keep trying 阅读(183) 评论(0) 推荐(0)

导航