码迷,mamicode.com
首页 >  
搜索关键字:divide two integers    ( 17573个结果
[LeetCode] Search a 2D Matrix
Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from l...
分类:其他好文   时间:2014-07-10 12:37:21    阅读次数:189
IntersectRect、wcsrchr、CComPtr、GetFileAttributes
IntersectRect 两矩形相交形成的新矩形The IntersectRect function calculates the intersection of two source rectangles and places the coordinates of the intersecti....
分类:其他好文   时间:2014-07-10 10:33:52    阅读次数:272
extract specified contents from two files.
src_dir=$(pwd)/All_hdst_dir=$(pwd)/Alldiff_dir=$(pwd)/diffif [ ! -d $diff_dir ]then mkdir $diff_dirfifor src_full_entry in $src_dir/*do src_cat_entry=...
分类:其他好文   时间:2014-07-10 10:07:49    阅读次数:241
[leetcode] Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.
分类:其他好文   时间:2014-07-10 00:18:17    阅读次数:278
[leetcode] Add Binary
Given two binary strings, return their sum (also a binary string).
分类:其他好文   时间:2014-07-09 23:52:48    阅读次数:383
[LeetCode] Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2014-07-07 23:24:09    阅读次数:210
[leetcode] Edit Distance
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
分类:其他好文   时间:2014-07-07 23:16:52    阅读次数:197
[LeetCode] Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-07-07 22:57:13    阅读次数:309
LeetCode:Container With Most Water
题目链接 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two ...
分类:其他好文   时间:2014-07-07 22:25:30    阅读次数:359
Test of returning array efficiency from Fortran subprograms
Fortran has two kinds of subprograms: subroutine and function. Usually, subroutine is a combination of several procedures generating side effects with...
分类:其他好文   时间:2014-06-30 12:43:00    阅读次数:207
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!