http://poj.org/problem?id=2155
Matrix
Time Limit: 3000MS
Memory Limit: 65536K
Total Submissions: 18143
Accepted: 6813
Description
Given an N*N matrix A, ...
分类:
其他好文 时间:
2014-08-04 10:59:47
阅读次数:
269
/** \brief poj 2632
*
* \param date 2014/8/3
* \param state AC
* \return memory 776k time 16ms
*
*/
#include
#include
#include
using namespace std;
const int MAXN=101;
int Map[MAXN][MAXN];...
分类:
其他好文 时间:
2014-08-03 23:24:46
阅读次数:
293
Given an index k, return the kth row of the Pascal's triangle.For example, given k = 3, Return [1,3,3,1].Note: Could you optimize your algorithm to us...
分类:
其他好文 时间:
2014-08-03 23:10:36
阅读次数:
179
最近研究了下模拟退火,首先戳这里>_顾研08年集训队论文,讲的非常详细
首先随机20个点作为候选解,以此扩展来确定距离工厂最近的点的最远的距离是多少。但是有需要注意到扩展点在边界的情况,因为边界是圆所以很难继续扩展,如论文中提到的两种情况。1.是两工厂垂直平分线与边界交点2.一个工厂的圆与边界相切。单独判断即可。
其中有个很蛋疼的地方,我之前距离用了很多次sqrt,T成狗,比较距离时只需比较距...
分类:
其他好文 时间:
2014-08-03 18:10:16
阅读次数:
215
http://acm.hdu.edu.cn/showproblem.php?pid=1542
Atlantis
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 6788 Accepted Submission(s): ...
分类:
其他好文 时间:
2014-08-03 15:16:35
阅读次数:
320
http://poj.org/problem?id=1637
Sightseeing tour
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 7498
Accepted: 3123
Description
The city execu...
分类:
其他好文 时间:
2014-08-03 12:54:25
阅读次数:
234
题目:Given an index k, return the kth row of the Pascal's triangle.For example, given k = 3,Return [1,3,3,1].Note:Could you optimize your algorithm to ....
分类:
编程语言 时间:
2014-08-03 05:24:06
阅读次数:
304
http://poj.org/problem?id=3436
ACM Computer Factory
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 5286
Accepted: 1813
Special Judge
Descrip...
分类:
其他好文 时间:
2014-08-02 23:33:34
阅读次数:
525
Java Cryptography Architecture Standard Algorithm Name Documentation for JDK 8:
http://docs.oracle.com/javase/8/docs/api/index.html...
分类:
编程语言 时间:
2014-08-02 12:56:03
阅读次数:
400