模拟
alpc_wt
a star in the making
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ 1379模拟退火
模拟退火基础题 题目:找出一点,距离所有所有点的最短距离最大 代码: #include #include #include #include #include #include #define pi acos(-1.0) using namespace std; const int M = 1000+10; const int N = 30+5; co原创 2014-10-25 18:40:14 · 712 阅读 · 0 评论 -
HDU 5017 模拟退火
一步一步慢慢学习~~~ 模拟退火大法好~~~原创 2014-10-27 00:30:47 · 767 阅读 · 0 评论 -
POJ 2420 模拟退火
最近再刷模拟退火,发现这是一个nb的算法。 刚开始只能最一些简单的题原创 2014-10-29 10:54:21 · 638 阅读 · 0 评论 -
模拟退火模板
在网上发现了一个 模拟退火原创 2014-11-17 21:37:36 · 696 阅读 · 0 评论 -
hdu 5031 Lines
2014广州网络赛的J题, 太恶心了,大模拟,g原创 2014-11-19 16:38:46 · 495 阅读 · 0 评论 -
Codeforces Round #291 Div2
A. Chewbaсca and Number 签到题 //#pragma comment(linker, "/STACK:102400000,102400000") 手动扩栈 #include #include #include #include #include #include #include #include #include #include #include #include原创 2015-02-15 19:25:38 · 684 阅读 · 0 评论 -
hdu5191Building Blocks 模拟
题意: 看完电影后,乐乐回家玩起了积木。 他已经搭好了n堆积木,他想通过调整积木,使得其中有连续W堆积木具有相同的高度,同时他希望高度恰好为H。 乐乐的积木都这了,也就是说不能添加新的积木,只能移动现有的积木。 他可以把一个积木从一堆移动到另一堆或者新的一堆,但是不能移动到两堆之间。比如,一次移动之后,"3 2 3" 可以变成 "2 2 4" 或者 "3 2 2 1",但是不能变成"3 1 1原创 2015-03-22 14:11:59 · 672 阅读 · 0 评论
分享