Unity 使用的是左手坐标系物体旋转:通常围绕一条射线进行旋转(点确定线的位置,射线确定线的方向)。旋转角度:朝射线的方向看过去,逆时针旋转。围绕自己的坐标轴旋转:transform.Rotate (Vector3.right, 50 * Time.deltaTime);围绕世界坐标轴旋转,注意,...
分类:
其他好文 时间:
2014-06-25 16:24:15
阅读次数:
383
今年又要打邀请赛了,前段时间做比赛都被虐的够呛,感觉不会再爱了。。。所以挂了下去年的成都邀请赛的题目。发现简单题还是能切上几道的,可是难题就无能为力了。。。阿门,还是水平差得远啊。。。(ps:近期感觉状态不佳,依靠了队友神勇的发挥。。。 Current Time:2014-05-15...
分类:
其他好文 时间:
2014-06-25 16:23:36
阅读次数:
149
3648. 【GDOI2014】beyond(Standard IO)Time Limits:1000 msMemory Limits:262144 KBDescriptionInput第一行:包含一个整数N。第二行:包含一个长度为N的字符串,字符串中只包含小写字母。第三行:包含一个长度为N的字符串...
分类:
其他好文 时间:
2014-06-25 15:12:49
阅读次数:
205
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
分类:
其他好文 时间:
2014-06-25 14:58:16
阅读次数:
210
游起来吧!超妹!Time Limit:1 SecMemory Limit:128 MBSubmit:15Solved:7[Submit][Status][Web Board]Description夏天到了,无聊的超妹跑到了落雪湖里抓鱼吃。结果,游到湖的正中 央时被湖边保安看到了,保安要抓住超妹。我们...
分类:
其他好文 时间:
2014-06-25 14:14:53
阅读次数:
172
这题就是一个字典树的模板题统计难题Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131070/65535 K (Java/Others) Total Submission(s): 16997 Accepted Submission(s): ...
分类:
其他好文 时间:
2014-06-25 13:39:19
阅读次数:
133
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:
其他好文 时间:
2014-06-25 13:06:16
阅读次数:
198
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:
其他好文 时间:
2014-06-25 12:59:40
阅读次数:
202
拆点二分图匹配
棋盘游戏
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 2146 Accepted Submission(s): 1250
Problem Description
小希和Gardo...
分类:
其他好文 时间:
2014-06-25 08:48:14
阅读次数:
248
把N个点先转化为2*N-2个点。
比如说把012345转化成0123454321。
这样,就可以找出任意两两个点之间的关系。
然后根据关系可以得出来一个一元多项式的矩阵。
然后就用高斯消元求出矩阵即可。
#include
#include
#include
#include
#include
#include
using namespace std;
#define eps 1e-6
#...
分类:
其他好文 时间:
2014-06-25 07:08:28
阅读次数:
197