码迷,mamicode.com
首页 >  
搜索关键字:median of two sor    ( 12209个结果
POJ2429--GCD & LCM Inverse (UNSOLVED)
Given two positive integers a and b, we can easily calculate the greatest common divisor (GCD) and the least common multiple (LCM) of a and b. But wha ...
分类:其他好文   时间:2019-02-09 12:00:20    阅读次数:204
1C - A + B Problem II
I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line of the input contain ...
分类:其他好文   时间:2019-02-08 15:55:28    阅读次数:152
5E - A + B Again
There must be many A + B problems in our HDOJ , now a new one is coming. Give you two hexadecimal integers , your task is to calculate the sum of them ...
分类:其他好文   时间:2019-02-08 10:30:33    阅读次数:208
5D - Rectangles
Given two rectangles and the coordinates of two points on the diagonals of each rectangle,you have to calculate the area of the intersected part of tw ...
分类:其他好文   时间:2019-02-08 01:09:14    阅读次数:161
5C - A == B ?
Give you two numbers A and B, if A is equal to B, you should print "YES", or print "NO". Input each test case contains two numbers A and B. Output for ...
分类:其他好文   时间:2019-02-08 01:02:08    阅读次数:216
[LeetCode] Image Overlap 图像重叠
Two images A and B are given, represented as binary, square matrices of the same size. (A binary matrix has only 0s and 1s as values.) We translate on ...
分类:其他好文   时间:2019-02-07 23:23:10    阅读次数:214
88. Merge Sorted Array
Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: The number of elements initialized in nums1 and num ...
分类:其他好文   时间:2019-02-07 09:35:27    阅读次数:142
4. Median of Two Sorted Arrays
There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh ...
分类:其他好文   时间:2019-02-06 13:16:54    阅读次数:171
#Leetcode# 373. Find K Pairs with Smallest Sums
https://leetcode.com/problems/find-k-pairs-with-smallest-sums/ You are given two integer arrays nums1 and nums2 sorted in ascending order and an integ ...
分类:其他好文   时间:2019-02-06 11:52:53    阅读次数:118
leetcode multiply-strings
题干: Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Example 1 ...
分类:其他好文   时间:2019-02-06 09:12:42    阅读次数:182
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!