码迷,mamicode.com
首页 >  
搜索关键字:smallest difference    ( 1670个结果
POJ1094 Sorting It All Out
An ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smallest to large ...
分类:其他好文   时间:2020-02-12 18:29:23    阅读次数:62
A1036 Boys vs Girls
This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students. Inp ...
分类:其他好文   时间:2020-02-09 20:06:21    阅读次数:67
codeforces - 1249B2 Books Exchange (hard version)
https://vjudge.net/problem/CodeForces-1249B2 题目描述: The only difference between easy and hard versions is constraints. There are nn kids, each of them ...
分类:其他好文   时间:2020-02-07 18:53:09    阅读次数:87
865. Smallest Subtree with all the Deepest Nodes
Given a binary tree rooted at root, the depth of each node is the shortest distance to the root. A node is deepest if it has the largest depth possibl ...
分类:其他好文   时间:2020-02-06 11:07:31    阅读次数:74
[Leetcode]668.Kth Smallest Number in Multiplication Table
链接: "LeetCode668" 给定高度m?、宽度n 的一张?m n的乘法表,以及正整数k,你需要返回表中第k?小的数字。 例?1: 输入: m = 3, n = 3, k = 5 输出: 3 解释: 乘法表: 1 2 3 2 4 6 3 6 9 第5小的数字是 3 (1, 2, 2, 3, 3 ...
分类:其他好文   时间:2020-02-03 12:00:25    阅读次数:61
集合的一些操作总结
集合的特性:1.去重,2.无序,3.关系测试集合创建: set()方法,列表list()集合的关系测试:并集: list_1.union(list_2) or ^交集:list_1.intersection(list_2) or |差集:list_1.difference(list_2) or li ...
分类:其他好文   时间:2020-01-31 20:50:54    阅读次数:77
PAT Advanced 1038 Recover the Smallest Number (30) [贪?算法]
PAT 甲级 Advanced 1038 Recover the Smallest Number (30) [贪?算法] ...
分类:编程语言   时间:2020-01-30 22:58:04    阅读次数:95
最短路径 floyd/dijkstra-Find the City With the Smallest Number of Neighbors at a Threshold Distance
2020-01-30 22:22:58 ...
分类:其他好文   时间:2020-01-30 22:44:10    阅读次数:73
PAT Advanced 1038 Recover the Smallest Number (30分)
Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 0229, 87 }, we c ...
分类:其他好文   时间:2020-01-28 19:08:30    阅读次数:82
PAT Advanced 1144 The Missing Number (20分)
Given N integers, you are supposed to find the smallest positive integer that is NOT in the given list. Input Specification: Each input file contains ...
分类:其他好文   时间:2020-01-27 17:28:02    阅读次数:71
1670条   上一页 1 ... 9 10 11 12 13 ... 167 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!