GL的功能比较强,但unity中开放的接口比较少。(个人版不能用) 1 public class GLLine : MonoBehaviour 2 { 3 /*GL比较底层,难控制,Unity开放的接口不多,能用到的不多, 4 *有时间继续学习深入研究 5 * 6 */ 7 private List ...
分类:
编程语言 时间:
2017-12-03 15:38:27
阅读次数:
249
Matrix Power Series Time Limit: 3000MS Memory Limit: 131072K Total Submissions: 20309 Accepted: 8524 Description Given a n × n matrix A and a positive ...
分类:
其他好文 时间:
2017-12-03 14:47:07
阅读次数:
214
The Swift Programming Language 中文版 -v1.8 中,第 174 页下标选项章节的示例代码中, func indexIsValidForRow(row: Int, column: Int) -> Bool { return row >= 0 && row < rows ...
分类:
其他好文 时间:
2017-12-02 23:28:48
阅读次数:
316
题目: 给个n*n的带正权矩阵,k次从(1,1)走到(n,n),每个格子的权值只能获得一次,每次只能向右或下走 问获得最大权值 题解: 求最大权值可以把权值变成负的求最小 然后考虑怎么约束每个格子的权值, 把格子拆成两个点,连两条边:一条容量为1,花费为-权值,一条容量为INF,花费为0 S到第一个 ...
分类:
其他好文 时间:
2017-12-02 17:37:27
阅读次数:
113
http://poj.org/problem?id=3422 题目大意: 从左上角走到右下角,中途取数(数>=0),然后该点的数变为0,求走k的总价值和最大值。 —————————————————————————————— 最大值?但是我们只会最小费用流啊…… 但是数是>=0的啊,所以…… 我们拆点 ...
分类:
其他好文 时间:
2017-12-02 15:11:45
阅读次数:
209
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. For example, given the following ma ...
分类:
其他好文 时间:
2017-12-02 11:13:43
阅读次数:
174
书籍《利用Python进行数据分析》 Numpy--数组及矩阵,矢量计算 1、ndarray多维数组, matrix矩阵 2、针对整组数据进行快速运算的标准数学(统计)函数,(与list区别:无需循环编写程序) 3、用于读写磁盘数据工具及操作内存映射文件工具 4、线性代数、随机数生成及傅里叶变换 5 ...
分类:
编程语言 时间:
2017-11-30 20:12:21
阅读次数:
1144
Let’s move from initial matrix to the bipartite graph. The matrix elements (i,?j) for which i?+?j are even should be place to one part, the matrix ele ...
分类:
其他好文 时间:
2017-11-29 20:54:17
阅读次数:
271
1105. Spiral Matrix (25) 时间限制 150 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue 时间限制 150 ms 时间限制 150 ms 内存限制 65536 kB 内存限制 65536 kB 代码长度限 ...
分类:
其他好文 时间:
2017-11-28 18:45:00
阅读次数:
151
1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 map edge; 8 double matrix[30][30]; 9 10 bool floyd_Arbitrage(int n){ 11 for (int k = 0; ... ...
分类:
其他好文 时间:
2017-11-28 11:46:21
阅读次数:
98