Problem Description There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 using namespace std; struct n ...
分类:
其他好文 时间:
2018-11-04 12:40:32
阅读次数:
125
题目:http://acm.hdu.edu.cn/showproblem.php?pid=2899 还可三分。不过只写了模拟退火。 ...
分类:
其他好文 时间:
2018-10-31 23:31:53
阅读次数:
328
"POJ1958 Strange Towers of Hanoi" Sol: n盘4塔问题可以分为3步: 1.以4塔模式移走i个盘。 2.以3塔模式将剩余n i个盘移至第4塔。 3.以4塔模式将第一步中的i个盘移至第4塔。 我们用$d[i]$表示在3塔模式下移i个盘的最小步数,$f[i]$表示在4塔 ...
分类:
其他好文 时间:
2018-10-09 23:09:40
阅读次数:
231
emmm,这道题我们今天集训的一道题。。。 思路:怎么搞呢这道题,对于当前点i,我们往后枚举,求得最优值,很明显是个动态规划,但是题中很明显有着一个限制条件,就是说当i要连向j时,我们这条线不能触碰到山顶,我们设两点间连线斜率为k,那么k[i][j]要保证任何大于i小于j的一个l都要满足k[i][l ...
分类:
其他好文 时间:
2018-10-04 10:47:48
阅读次数:
128
Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is beautiful if and only if it is divisible by ...
分类:
其他好文 时间:
2018-09-22 01:07:03
阅读次数:
230
Strange Way to Express Integers Time Limit: 1000MS Memory Limit: 131072K Total Submissions: 20640 Accepted: 6946 Description Elina is reading a book w ...
分类:
其他好文 时间:
2018-09-21 21:41:04
阅读次数:
218
jenkins配置publish html report显示HTML测试报告报错: ...
分类:
Web程序 时间:
2018-09-20 16:07:54
阅读次数:
1187
BaoBao and DreamGrid are playing a game using a strange button. This button is attached to an LED light (the light is initially off), a counter and a ...
分类:
其他好文 时间:
2018-09-16 20:50:18
阅读次数:
152
BaoBao and DreamGrid are playing a game using a strange button. This button is attached to an LED light (the light is initially off), a counter and a ...
分类:
其他好文 时间:
2018-09-16 18:37:19
阅读次数:
221
题目链接: "HDU 1548" Description There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 include include incl ...
分类:
其他好文 时间:
2018-09-05 21:52:26
阅读次数:
160