码迷,mamicode.com
首页 >  
搜索关键字:证书转换 convert    ( 4790个结果
SQL Server中getdate()函数的时间格式设置
Sql Server 中一个非常强大的日期格式化函数Select CONVERT(varchar(100), GETDATE(), 0): 05 16 2006 10:57AMSelect CONVERT(varchar(100), GETDATE(), 1): 05/16/06Select CON...
分类:数据库   时间:2014-07-23 15:19:16    阅读次数:511
LeetCode "ZigZag Conversion"
Nothing to hard to think. Just take care of boundary conditions.class Solution {public: string convert(string s, int nRows) { if(s.empty() |...
分类:其他好文   时间:2014-07-23 15:04:36    阅读次数:227
【leetcode刷题笔记】Convert Sorted List to Binary Search Tree
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.题解:开始想到的方法比较偷懒,直接遍历一遍数组,把每个ListNode对应的值放到...
分类:其他好文   时间:2014-07-22 22:45:13    阅读次数:271
[LeetCode] Roman to Integer
Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.以下为补充知识,百度到的罗马数字写法:个位数举例I, 1 】II, 2】 III, 3】...
分类:其他好文   时间:2014-07-22 00:04:34    阅读次数:190
LeetCode :: Convert Sorted Array (link list) to Binary Search Tree [tree]
1.Given an array where elements are sorted in ascending order, convert it to a height balanced BST. 2.Given a singly linked list where elements are sorted in ascending order, convert it to a heig...
分类:其他好文   时间:2014-07-21 23:45:53    阅读次数:264
C#之装箱和拆箱
在实际编码过程中,有时候会出现装箱和拆箱操作。下面就类分别认识一下:需要注意的是,类型转换和这个是不同的。Convert方法并没有发生装箱和拆箱操作,而是类型转换,包括int.parse等等。装箱,是把值类型拷贝了一个副本放在堆内存中。拆箱,在引用类型直接找到值类型存储的位置(Person对象是引用...
分类:其他好文   时间:2014-07-21 14:24:30    阅读次数:258
【leetcode刷题笔记】Integer to Roman
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.题解:基本的罗马字符和数字对应如下表所示:罗马字符数字I1V5X10L50C100D50...
分类:其他好文   时间:2014-07-21 10:05:16    阅读次数:286
Ubuntu Linux 批量修改图片大小以及文件重命名
0x00本文属于随笔, 仅供作者学习记录.0x01 批量修改图片大小:root@host:~/$ find ./ -name '*.jpg' -exec convert -resize 220X520! {} {} \;备注: 上述命令中,find 路径 -name 匹配.jpg后缀的文件-exec...
分类:系统相关   时间:2014-07-21 09:35:06    阅读次数:334
【leetcode刷题笔记】String to Integer (atoi)
Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ...
分类:其他好文   时间:2014-07-21 08:36:32    阅读次数:208
Convert Sorted Array to Binary Search Tree
/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; ...
分类:其他好文   时间:2014-07-21 00:11:12    阅读次数:254
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!