裸题,上模版,,嘿嘿 #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
https://en.wikipedia.org/wiki/Sorting_algorithm Computational complexity theory Big O notation Total order Lists Inplacement Stability Comparison sort ...
分类:
编程语言 时间:
2017-05-14 13:42:24
阅读次数:
164
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
Description In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping ...
分类:
其他好文 时间:
2017-05-08 23:07:46
阅读次数:
209
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
DNA Sorting Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 83442 Accepted: 33584 Description One measure of ``unsortedness'' in a sequence ...
分类:
其他好文 时间:
2017-05-04 20:13:04
阅读次数:
219
In order to imporve my english writing skill and enhance my understanding of programming ,I'm setting hand to write down my thouthts and after sorting ...
分类:
其他好文 时间:
2017-04-30 19:59:31
阅读次数:
253
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