裸题,上模版,,嘿嘿 #include<stdio.h> #include<string.h> #include<iostream> #include<algorithm> #include<math.h> #include<set> #include<queue> #include<vector> ...
分类:
其他好文 时间:
2017-05-14 19:38:45
阅读次数:
193
HDU_1548 A strange lift 水题。bfs+优先队列。从一个位置到达还有一个位置的最少操作数。 代码清单: #include<queue> #include<cstdio> #include<cstring> #include<iostream> #include<algorith ...
分类:
其他好文 时间:
2017-05-12 09:38:53
阅读次数:
148
题目链接:click here~~ 【题目大意】: Now, here is a fuction: F(x) = 6 * x^7+8*x^6+7*x^3+5*x^2-y*x (0 <= x <=100) Can you find the minimum value when x is between ...
分类:
其他好文 时间:
2017-05-12 09:35:59
阅读次数:
141
A strange lift 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 <= Ki <= N) on ...
分类:
其他好文 时间:
2017-05-06 17:42:23
阅读次数:
254
Description Gigel has a strange "balance" and he wants to poise it. Actually, the device is different from any other ordinary balance. It orders two a ...
分类:
其他好文 时间:
2017-04-30 01:02:20
阅读次数:
233
上一篇我们讲了一个最简单的Fuction的实现方法,了解了Function最简单快捷的一种编写方式.这种编写方式在实现简单功能时非常简洁高效,但是碰上更复杂的需求,这种写法即不直观,也不利于代码整洁.下面我们来看看Function的另一种写法.目标(同上篇):输入姓名和年龄后,直接在显示某..
分类:
系统相关 时间:
2017-04-29 16:23:45
阅读次数:
254
题目大意:给定一个串S,求最小表示法 n<=1000W,实在不敢写后缀自己主动机,就去学了最小表示法= = 记得用unsigned char不然WA= = 数据真是逗- - #include <cstdio> #include <cstring> #include <iostream> #inclu ...
分类:
其他好文 时间:
2017-04-25 22:25:37
阅读次数:
126
[hdu2899]Strange fuction 模拟退火做法 ...
分类:
其他好文 时间:
2017-04-15 19:08:39
阅读次数:
186
Strange fuction Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7230 Accepted Submission(s): 4996 ...
分类:
其他好文 时间:
2017-04-15 09:39:57
阅读次数:
165
There's an alien whose name is Marjar. It is an universal solder came from planet Highrich a long time ago. Marjar is a strange alien. It needs to gen ...
分类:
其他好文 时间:
2017-04-07 01:01:56
阅读次数:
193