码迷,mamicode.com
首页 >  
搜索关键字:divide two integers    ( 17573个结果
[LeetCode] Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2014-06-28 10:45:34    阅读次数:225
[LeetCode] Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-06-26 00:29:49    阅读次数:168
Leetcode Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:其他好文   时间:2014-06-25 23:01:44    阅读次数:227
[leetcode]Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number...
分类:其他好文   时间:2014-06-25 22:07:58    阅读次数:330
POJ 2891 Strange Way to Express Integers 中国剩余定理
裸题,上模版,,嘿嘿 #include #include #include #include #include #include #include #include #include using namespace std; #define ll __int64 ll gcd(ll a, ll b) { return b == 0 ? a : gcd(b, a%b); } //求一组解(x,y...
分类:其他好文   时间:2014-06-25 19:51:56    阅读次数:138
LeetCode——Single Number
Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using e...
分类:其他好文   时间:2014-06-24 23:30:08    阅读次数:278
LeetCode:N-Queens I II(n皇后问题)
N-QueensThe n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.Given an integer n, retu...
分类:其他好文   时间:2014-06-22 13:10:11    阅读次数:188
leetcode--Container With Most Water
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:其他好文   时间:2014-06-22 10:45:17    阅读次数:258
Notes from Data Guard
There are two types of Standby databases: 1, Physical standby database block-for-block basis the physically identical with the primary database user recovery technology 2, Logical  standby databa...
分类:其他好文   时间:2014-06-22 08:35:53    阅读次数:355
The Animation in android
The android provide two types of animation.Tween Animation is one,such as rotation,translation,scale,gradual change(gradient). main types: Animation、AlphaAnimation、RotateAnimation、ScaleAnimation...
分类:移动开发   时间:2014-06-22 08:29:06    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!