上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 26 下一页
摘要: #includevoid SelectSort(int n,int a[]){ for(int i=0; i<n; i++) { int MIN=a[i]; int k=i; for(int j=i+1; j<n; j++) { ... 阅读全文
posted @ 2014-07-26 10:07 calmound 阅读(140) 评论(0) 推荐(0)
摘要: #includevoid BubbleSort(int n,int a[]){ for(int i=0;ia[j+1]) { int tmp=a[j]; a[j]=a[j+1]; a... 阅读全文
posted @ 2014-07-26 09:46 calmound 阅读(136) 评论(0) 推荐(0)
摘要: #includevoid MergeArray(int first,int mid,int last,int a[]){ int k=0; int i=first,j=mid+1; int n=mid,m=last; int c[100]; while(i<=n && ... 阅读全文
posted @ 2014-07-25 17:29 calmound 阅读(144) 评论(0) 推荐(0)
摘要: #include#includeusing namespace std;typedef int ElemType;typedef struct Node{ ElemType data; struct Node* next;}*LinkList,Node;LinkList LinkList... 阅读全文
posted @ 2014-07-24 14:48 calmound 阅读(144) 评论(0) 推荐(0)
摘要: HRESULT D3DXCreateTextureFromFile( __in LPDIRECT3DDEVICE9 pDevice, __in LPCTSTR pSrcFile, __out LPDIRECT3DTEXTURE9 *ppTexture ); 第一个... 阅读全文
posted @ 2014-07-05 16:40 calmound 阅读(2526) 评论(0) 推荐(0)
摘要: HRESULT D3DXCreateTexture( __in LPDIRECT3DDEVICE9 pDevice, __in UINT Width, __in UINT Height, __in UINT MipLevels, __in DWORD... 阅读全文
posted @ 2014-07-05 16:34 calmound 阅读(2259) 评论(0) 推荐(0)
摘要: #include#include#includetypedef int Item;typedef struct node* PNode;typedef struct node{ Item data; PNode next;}Node;typedef struct{ PNode fr... 阅读全文
posted @ 2014-05-20 18:03 calmound 阅读(320) 评论(0) 推荐(0)
摘要: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5074题意:两个圆,小圆为实体,具有碰撞性。其中一个内含于另外一个,另有一枚硬币在大圆外,呈射线发射,求该硬币在大圆内的时间。分析: 原先思路:圆心和直线的距离dist和R进行比较... 阅读全文
posted @ 2013-11-25 20:43 calmound 阅读(533) 评论(0) 推荐(0)
摘要: POJ 3070Fibonaccihttp://poj.org/problem?id=3070题意:求矩阵的n此幂分析:二分求#includestruct matrix{ int a[2][2]; matrix() { a[0][0]=a[0][1]=a[1][0]=... 阅读全文
posted @ 2013-11-07 17:28 calmound 阅读(167) 评论(0) 推荐(0)
摘要: mental ray--Indirect Lighting(物理学太阳天空) Final Gathering最终聚集 改变质量为production的,FG就是关闭需要重新打开平行光,强光光照下,物体饱和度降低,明度上升,颜色变淡变浅。 阅读全文
posted @ 2013-11-04 11:10 calmound 阅读(200) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 26 下一页