码迷,mamicode.com
首页 >  
搜索关键字:generic algorithm    ( 18934个结果
c#学习3,构造函数
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 构造函数1{ class Program { static void Main(strin...
分类:其他好文   时间:2014-05-20 02:22:09    阅读次数:299
(转)loff_t *ppos是什么东东
ssize_t generic_file_read(struct file * filp, char * buf, size_t count,loff_t*ppos)这是一个文件读函数我们很容易看出输入参数中filp 是文件buf 是文件要读到什么地方去,用户bufcount是要读多少东西那么ppo...
分类:其他好文   时间:2014-05-19 22:29:53    阅读次数:640
c#学习2,面向对象引用
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 对象引用{ class Program { static void Main(string...
分类:其他好文   时间:2014-05-17 14:30:19    阅读次数:279
Leetcode | First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your algorithm sho...
分类:其他好文   时间:2014-05-16 02:58:54    阅读次数:249
C#-TabControl---ShinePans
program.cs using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace GroupBoxTest13 { static class Program { /// /// 应用程序的...
分类:其他好文   时间:2014-05-16 01:56:45    阅读次数:319
hdu1598find the most comfortable road(并查集+枚举,求起点到终点的边中最大边减最小边差值最小)
Problem Description XX星有许多城市,城市之间通过一种奇怪的高速公路SARS(Super Air Roam Structure---超级空中漫游结构)进行交流,每条SARS都对行驶在上面的Flycar限制了固定的Speed,同时XX星人对 Flycar的“舒适度”有特殊要求,即乘坐过程中最高速度与最低速度的差越小乘坐越舒服 ,(理解为SARS的限速要求,flycar必须瞬间提...
分类:其他好文   时间:2014-05-16 01:43:49    阅读次数:270
Binary Tree Zigzag Level Order Traversal
原题: 题目解析:这个问题的实质是要我们按成访问二叉树的结点,并返回每层访问的结果,这里要求走Z字,其实就是一行正向一行反向。 /* the kernel idea is visit a binary search tree in level and the additional work we have to label the end of one level. */ v...
分类:其他好文   时间:2014-05-15 23:18:46    阅读次数:515
Android源码编译make的错误处理
android源码下载:官方下载或参考android源码下载方式Android编译版本: PLATFORM_VERSION=4.0.1(最新Android 4.0.1)OS 操作系统平台: Linux yanggang 2.6.35-30-generic #61-Ubuntu SMP Tue Oct...
分类:移动开发   时间:2014-05-15 21:10:55    阅读次数:463
交换密钥与安全传输
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System.Security....
分类:其他好文   时间:2014-05-15 17:20:45    阅读次数:329
Linq:First FirstOrDefault
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Reflection;namespace TestConsole{ ...
分类:其他好文   时间:2014-05-15 17:07:04    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!