码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
堆排序理解 完整代码
/*自我修改* Note: 堆排序(Heap Sort)*/#include using namespace std;// 输出当前堆的排序状况void PrintArray(int data[], int size){ for (int i=1; i a[i]) // 符号修改后形成...
分类:其他好文   时间:2014-05-25 19:07:25    阅读次数:227
hdu 1.3.3 今年暑假不AC
//简单.... 1 #include 2 #include 3 #include 4 using namespace std; 5 6 #define maxn 105 7 8 struct t 9 {10 int s;11 int e;12 };13 14 t T[maxn]...
分类:其他好文   时间:2014-05-25 16:04:07    阅读次数:215
foreach是怎么实现遍历的
using System;using System.Collections;using System.Collections.Generic;using System.Linq; using System.Text;using System.Threading.Tasks;namespace Con...
分类:其他好文   时间:2014-05-25 14:55:16    阅读次数:160
C#_Ajax_分页
using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace MvcTest.Extends{ /// /// 分页元素位置 /// public en...
分类:其他好文   时间:2014-05-25 13:50:08    阅读次数:476
55. 2种方法求字符串的组合[string combination]
using recursive and bitwise methods to get string combinations.
分类:其他好文   时间:2014-05-25 12:26:56    阅读次数:187
POJ 1459(EK)
这题是学着小媛学姐写的.. 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 #define N 120 8 9 int n, np, nc, m;10 int cap[N][N];11.....
分类:其他好文   时间:2014-05-25 11:44:33    阅读次数:219
独木舟问题
以前一直一位set.end()是代表最后一个元素,原来只是个标记,怪不得一直出错,同时erase在multiset中会删除相同的元素。 本题很明显的greedy,排列后前后两个元素能否组合,不能删除最大元素,再组合,写的比较蠢,不想改了#include #include using namespace std; int main() { int N; cin>>N; while(N--) ...
分类:其他好文   时间:2014-05-25 11:19:57    阅读次数:227
二叉树的三叉存储
形态: 实现: /***************************************8 二叉树的三叉链表存储 by Rowandjj 2014/5/23 *****************************************/ #include using namespace std; typedef int ElemType; //------...
分类:其他好文   时间:2014-05-25 08:52:26    阅读次数:239
旋转缩放代码
using UnityEngine;using System.Collections;// 直接放在相机上,控制相机的旋转和缩放 //public class CameraContro : MonoBehaviour { public Transform target; ...
分类:其他好文   时间:2014-05-25 07:44:17    阅读次数:242
二叉树的线性存储
/*************************************************** 二叉树的线性存储 by Rowandjj 2014/5/23 ***************************************************/ #include #include using namespace std; #define MAX 255 #define...
分类:其他好文   时间:2014-05-25 04:25:41    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!