题意 从1开始 1变为01 0变为10 计数变换多少次后连续0序列的个数。题解 找规律(菲波数)+大数相加a[i]=a[i-1]+a[i-2]*2; 1 #include 2 #include 3 #include 4 #define N 1001 5 using namespace std; 6....
                            
                            
                                分类:
其他好文   时间:
2015-02-02 12:21:50   
                                阅读次数:
275
                             
                    
                        
                            
                            
                                题目:
Given two words (start and end), and a dictionary, find the length of shortest transformation sequence from start to end, such that:
Only one letter can be changed at a timeEach intermediate...
                            
                            
                                分类:
编程语言   时间:
2015-01-29 09:34:19   
                                阅读次数:
1950
                             
                    
                        
                            
                            
                                Abstract. OpenCASCADE provides a general transformation class: gp_GTrsf. It can be a transformation from gp, an affinity, or you can define your own t...
                            
                            
                                分类:
其他好文   时间:
2015-01-22 21:37:05   
                                阅读次数:
390
                             
                    
                        
                            
                            
                                实体角度和位置的控制有时候导入的模型方向或者角度不太适合,就需要调节一下,这里我发现的一种方法是用到Transformation类,其实有很多类的运用都非常灵活,如果不是有官方示例,恐怕是很难发现的。Transformation transf = new Rotation(Math.PI / 2, ...
                            
                            
                                分类:
其他好文   时间:
2015-01-16 18:30:06   
                                阅读次数:
272
                             
                    
                        
                            
                            
                                Debugger 是一个很有用的工具,尤其对于workflow开发人员来说。可以帮助我们check 从source 到target的数据流。我们可以看到什么数据从source中流出,在接下来的transformation里经过了怎么样的改动。开发人员经常会用Debugger来准确的定位哪一部分的ma...
                            
                            
                                分类:
其他好文   时间:
2015-01-16 16:20:20   
                                阅读次数:
178
                             
                    
                        
                            
                            
                                http://www.cnblogs.com/graphics/archive/2009/10/13/1582773.html参考上面,但推导时,只用两点不行吧?推导见下图:
                            
                            
                                分类:
其他好文   时间:
2015-01-12 21:01:06   
                                阅读次数:
947
                             
                    
                        
                            
                            
                                opencv透视变换实现透视变换目标:在这篇教程中你将学到:1、如何进行透视变化2、如何生存透视变换矩阵理论:什么是透视变换:1、透视变换(Perspective Transformation)是将图片投影到一个新的视平面(Viewing Plane),也称作投影映射(Projective Mapp...
                            
                            
                                分类:
其他好文   时间:
2015-01-12 20:56:58   
                                阅读次数:
323
                             
                    
                        
                            
                            
                                题目:http://www.lydsy.com/JudgeOnline/problem.php?id=3858题解:设第i个数为i*a;第i+1个数为(i+1)*b。则(i+1)*b>i*a;b>a-(a/(i+1));那么如果a 2 3 #include 4 5 #include 6 7 #...
                            
                            
                                分类:
其他好文   时间:
2015-01-09 12:03:33   
                                阅读次数:
168
                             
                    
                        
                            
                            
                                题目大意:给定n,k,i从1到k循环一遍,每次将n更新成i的倍数中第一个大于等于n的 求最终的n
逗比题。。。
我们会发现当i>=sqrt(n)时,ceil(n/i)每次都是一样的- -
↑不能理解这句话的注意n是变化的
于是当i>=sqrt(n)时只需要输出ceil(n/i)*k即可
别的做法基本都卡了- -
#include 
#include 
#include 
#includ...
                            
                            
                                分类:
其他好文   时间:
2015-01-08 17:59:31   
                                阅读次数:
342
                             
                    
                        
                            
                            
                                示例代码:示例代码__你必须懂的T4模板:浅入深出.rar(一)什么是T4模板?T4,即4个T开头的英文字母组合:Text Template Transformation Toolkit。T4文本模板,即一种自定义规则的代码生成器。根据业务模型可生成任何形式的文本文件或供程序调用的字符串。(模型以适...
                            
                            
                                分类:
其他好文   时间:
2014-12-29 15:05:31   
                                阅读次数:
192