码迷,mamicode.com
首页 >  
搜索关键字:divide two integers    ( 17573个结果
HDoj 2054 A == B ?
Problem Description 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 ...
分类:其他好文   时间:2020-04-14 20:21:08    阅读次数:70
Boatherds POJ - 2114
代码: ...
分类:其他好文   时间:2020-04-14 18:42:45    阅读次数:64
1143 Lowest Common Ancestor
The lowest common ancestor (LCA) of two nodes U and V in a tree is the deepest node that has both U and V as descendants. A binary search tree (BST) i ...
分类:其他好文   时间:2020-04-14 18:37:40    阅读次数:59
归并排序
概念 归并排序(MERGE-SORT)是建立在归并操作上的一种有效的排序算法。 该算法是采用分治法(Divide and Conquer)的一个非常典型的应用。将已有序的子序列合并,得到完全有序的序列; 即先使每个子序列有序,再使子序列段间有序。若将两个有序表合并成一个有序表,称为二路归并。 过程 ...
分类:编程语言   时间:2020-04-14 12:20:35    阅读次数:87
Codeforces Round #634 (Div. 3)
A. Candies and Two Sisters 题意 把一个数拆成两个不等的数有多少种情况。 思路 奇数时除以二即可,偶数时需要再减去相等的情况。 代码 #include <bits/stdc++.h> using namespace std; void solve() { int n; ci ...
分类:其他好文   时间:2020-04-14 09:16:51    阅读次数:81
phase-VIV Post
find the phase difference between two singnals matlab code % phase lag of sine and cosine function % https://www.mathworks.com/help/signal/ug/cross-co ...
分类:其他好文   时间:2020-04-13 22:56:11    阅读次数:81
477. Total Hamming Distance
Problem : The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Now your job is to find ...
分类:其他好文   时间:2020-04-13 12:22:42    阅读次数:64
413. Arithmetic Slices
Problem : A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elemen ...
分类:其他好文   时间:2020-04-12 13:58:48    阅读次数:67
leetcode 21 合并两个有序链表
地址:https://leetcode cn.com/problems/merge two sorted lists/ 大意:将两个升序链表合并为一个新的升序链表并返回。 ` ` ...
分类:其他好文   时间:2020-04-12 08:04:53    阅读次数:74
leetcode 2 两数相加
地址:https://leetcode cn.com/problems/add two numbers/submissions/ 大意:给定两个链表,返回一个由这两个链表相加而得到的新链表 ` ` ...
分类:其他好文   时间:2020-04-12 07:53:08    阅读次数:55
17573条   上一页 1 ... 46 47 48 49 50 ... 1758 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!