码迷,mamicode.com
首页 >  
搜索关键字:values    ( 8569个结果
C++函数传递指向指针的指针的应用
传递指向指针的引用假设我们想编写一个与前面交换两个整数的 swap 类似的函数,实现两个指针的交换。已知需用 * 定义指针,用 & 定义引用。现在,问题在于如何将这两个操作符结合起来以获得指向指针的引用。这里给出一个例子: // swap values of two pointers to int ...
分类:编程语言   时间:2015-01-11 21:35:56    阅读次数:289
SQL语句 - 数据操作
SQL语句 - 数据操作 表中数据的变化牵一发而动全身,会同时导致到索引中数据的变化。因此如果查询语句不需要索引,就应该删除无用的索引以提高效率。一、INSERT语句 1、基本插入语句 insert用于向表中输入数据,其具体的语法结构如下: INSERT INTO 表名称 VALUES (值...
分类:数据库   时间:2015-01-11 20:20:58    阅读次数:189
Android自定义标题栏字体
这个自定义字体其实和ActionBar有关,但之前写AtionBar的时候没考虑到修改字体样式,今天看到一篇专门写这个的文章就贴上使用方式。╮(╯▽╰)╭,不得不说Actionbar的那个样式真是让人头疼,明明是可以用图形界面来指定的嘛。在res/values/styles.xml文件中加入下列代码...
分类:移动开发   时间:2015-01-11 20:18:40    阅读次数:213
【leetcode】Unique Binary Search Trees II
Unique Binary Search Trees IIGivenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.For example,Givenn= 3, your pr...
分类:其他好文   时间:2015-01-11 14:49:29    阅读次数:95
[C++]LeetCode: 86 Gray Code (格雷码)
题目: The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total number of bits in the code, print the seque...
分类:编程语言   时间:2015-01-11 12:27:43    阅读次数:282
[LeetCode#145]Binary Tree Postorder Traversal
The problem:Given a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3retu...
分类:其他好文   时间:2015-01-11 12:19:10    阅读次数:172
POJ 2785 4 Values whose Sum is 0 [二分]
传送门13773503njczy20102785Accepted25248K7079MSG++1423B2015-01-11 10:26:484 Values whose Sum is 0Time Limit:15000MSMemory Limit:228000KTotal Submissions:...
分类:其他好文   时间:2015-01-11 10:58:11    阅读次数:146
[LeetCode#]Binary Tree Preorder Traversal
The problem:Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3retur...
分类:其他好文   时间:2015-01-11 10:54:00    阅读次数:156
[LeetCode#144]Binary Tree Preorder Traversal
The problem:Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3retur...
分类:其他好文   时间:2015-01-11 10:53:49    阅读次数:143
[LeetCode#]Binary Tree Inorder Traversal
The problem:Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return...
分类:其他好文   时间:2015-01-11 06:10:46    阅读次数:226
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!