〔Radio Commands (" Z "键) - 无线电指令〕1."Cover me" (掩护我)2."You Take The Point"(你守住这个位置)3."Hold This Position"(各单位保持现在的位置)4."REGROUP TEAM"(重新组队),队友过于分散的时候可以...
分类:
其他好文 时间:
2014-09-03 11:12:26
阅读次数:
201
A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ...
分类:
其他好文 时间:
2014-09-02 17:28:35
阅读次数:
202
Intra-thread semantics(线程内语义):
The memory model determines what values can be read at every point in the program. The actions of each thread in isolation must behave as governed by the se...
分类:
其他好文 时间:
2014-09-02 14:14:25
阅读次数:
493
添加OnLButtonDown()函数可以VS里面的导向添加,这样比较方便然后在里面加入: // TODO: 在此添加消息处理程序代码和/或调用默认值 PostMessage(WM_NCLBUTTONDOWN, HTCAPTION, MAKELPARAM(point.x, point.y)); C....
分类:
移动开发 时间:
2014-09-02 12:18:44
阅读次数:
286
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2014-09-02 10:19:24
阅读次数:
194
Definition Ensure a class has only one instance and provide a global point of access to it.Participants The classes and/or objects participating in th...
分类:
其他好文 时间:
2014-09-01 12:19:33
阅读次数:
162
坐标系与基本图元(1)Direct3D基本图元图元(primitives)是Direct3D中定义的基本图形表示,它是组成一个单一实体的一组顶点。最简单的图元是三维坐标系中多个点的集合,称为点列表(point list)。通常,图元是多边形(polygon),一个多边形是由至少三条边组成的封闭图形。...
分类:
其他好文 时间:
2014-09-01 12:18:03
阅读次数:
224
/*** 在地头上设置Marker标记*/public void setMarker(LatLng point){setLatitude.setText(point.latitude+""); setLongitude.setText(point.longitude+""); setName.s.....
分类:
其他好文 时间:
2014-08-31 15:38:11
阅读次数:
206
1,浮点数。python中的计算(转载自知乎)Python 2.7 中, a / b = c,如果 a 和 b 均为 integer,则结果 c 也会被丢掉小数部分然后变成 integer 例如:5 / 2 = 2,若要准确的小数结果,将 a 或 b 变为 floating-point number...
分类:
编程语言 时间:
2014-08-30 20:21:49
阅读次数:
264
也是简单的最小生成树算法
不过添加了一些新的东西,需要对最小生成树算法 以及其中的 并查集的使用 有一些比较深入的理解。
处理问题的方法也有些复杂
#include
#include
#include
#include
using namespace std;
const int maxn = 1005;
struct point
{
int x;
int y;
}pp[m...
分类:
其他好文 时间:
2014-08-30 16:28:59
阅读次数:
149