SparseMatrix.h #pragma once #include<iostream> using namespace std; class Tri { public: int col; int row; int value; }; class SparseMatrix { public: i ...
分类:
其他好文 时间:
2020-04-13 10:37:44
阅读次数:
62
SparsrMatrix.h #pragma once #include<iostream> using namespace std; class Tri { public: int row; int col; int value; }; class SparseMatrix { public: i ...
分类:
其他好文 时间:
2020-04-12 12:26:08
阅读次数:
70
许多pc或主机游戏在移植到手机上,都会有问题。 Graphics Memory(GMEM)load是其中影响gpu性能的最重要的问题。下面介绍怎么用snapdragon发现哪里GMEM Load。 剖析 tiling机制的gpu管线都有一个pass,这个pass中,每个tile都渲染到GMEM。驱动 ...
分类:
其他好文 时间:
2020-02-21 20:06:56
阅读次数:
71
遇到个不会的 Effective triangulation Tiling and rasterization both work on fragment patches larger than a single pixel; e.g. for Mali GPUs the tiling will u ...
分类:
其他好文 时间:
2020-02-11 20:52:47
阅读次数:
92
https://vjudge.net/problem/UVA-11270 题目 用$1\times2$骨牌覆盖$n\times m$棋盘,有多少种方法? $n\times m<101$ 题解 棋盘已经填了的部分只能用考虑轮廓线表示清楚,不能只用行和列。轮廓线总共有$2^{宽}$种状态,因此需要把宽度 ...
分类:
其他好文 时间:
2020-02-11 14:41:38
阅读次数:
56
//input template#include<bits/stdc++.h> using namespace std; int solve() { int n,s; cin>>n>>s; vector<int> tri(n); for(int i=0;i<n;i++) { cin>>tri[i]; ...
分类:
其他好文 时间:
2020-01-21 21:34:27
阅读次数:
71
Tiling Terrace $$ Time Limit: 1000 ms\quad Memory Limit: 262144 kB $$ 题意 给出一个字符串 $s$,每次可以选择三种类型来获得价值 $Type1:“.”$ 获得 $w_1$ 元 $Type2:“..”$ 获得 $w_2$ 元 $T ...
分类:
其他好文 时间:
2019-12-03 20:11:41
阅读次数:
114
#触发器 #创建基本语法 #插入前CREATE trigger tri_before_insert_tb1 BEFORE INSERT ON tb1 FOR EACH ROWBEGIN ...END #插入后 CREATE TRIGGER tri_after_insert_tb1 AFTER INS ...
分类:
数据库 时间:
2019-10-30 18:16:12
阅读次数:
67
删除 Drop trigger tri_cus_wallet_update; 创建 DELIMITER $CREATE TRIGGER tri_cus_wallet_update AFTER UPDATE ON cus_wallet FOR EACH ROWBEGININSERT INTO cus_ ...
分类:
数据库 时间:
2019-10-11 14:10:40
阅读次数:
132
"Tiling_easy version" 思路:关于 这种东西,有一点必须要想明白,就是状态与状态之间的转换关系,就比如说要求5个骨牌的方案数,因为有两种骨牌,那么可以用 +两个横着的骨牌或者一个 的骨牌,或者是 +一个竖着的 骨牌来构成,那么递推的公式就是 代码: cpp // Created ...
分类:
其他好文 时间:
2019-10-10 20:42:25
阅读次数:
93