题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2502 题目大意:n位的二进制数称为n二进制数。求所有n二进制数共有几个1。 关键思想:要每一位考虑1出现的次数。看个例子就…
标签:online judge HDU
HDU 5691 Sitting in Line 状压dp
Sitting in Line 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5691 Description 度度熊是他同时代中最伟大的数学家,一切数字都要听命于他。现…
hdoj 1753 大明A+B 高精度/java
大明A+B Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)T…
HDU 4686 Arc of Dream (2013多校9 1001 题,矩阵)
Arc of Dream Time Limit: 2000/2000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/O…
HDU 2665 Kth number(划分树入门题,纯套模板)
Kth number Time Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Ot…
HDU 1035 Robot Motion(简单题,模拟)
Robot Motion Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/O…
HDU 5099 [Game with Pearls] 最大匹配
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5090 题目大意:有n个标号为1~n的盒子,每个盒子初始情况下有ai个珠子,每次操作可以加入0个或k的整数倍个珠子,问能否经…
HDU 5433 Xiao Ming climbing dp
Xiao Ming climbing Time Limit: 1 Sec Memory Limit: 256 MB 题目连接 http://bestcoder.hdu.edu.cn/contests/con…
HDU 1754 I Hate It 线段树RMQ
I Hate It Time Limit: 1 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/showproblem.php?pid=175…
HDU 2196 Computer(树形DP)
Computer Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Other…
HDU 4664 Triangulation(2013多校6 1010题,博弈)
Triangulation Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/…
HDU 2883 kebab (最大流)
kebab Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)T…