码迷,mamicode.com
首页 >  
搜索关键字:consecutive numbers    ( 8082个结果
PAT甲级 Are They Equal (25) (恶心模拟)
Are They Equal (25) 时间限制 1000 ms 内存限制 65536 KB 代码长度限制 100 KB 题目描述 If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 ...
分类:其他好文   时间:2019-07-17 00:44:02    阅读次数:110
Backward Digit Sums POJ - 3187
FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 <= N <= 10) in a certain order and then sum adjacent numbers t ...
分类:其他好文   时间:2019-07-16 18:53:20    阅读次数:114
1051 Pop Sequence 入栈 出栈模拟
Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell if a given s ...
分类:其他好文   时间:2019-07-16 16:32:06    阅读次数:96
Add Two Numbers
"Add Two Numbers" Example: Code // // main.cpp // 两个数字的加法操作 // // Created by mac on 2019/7/14. // Copyright ? 2019 mac. All rights reserved. // includ ...
分类:其他好文   时间:2019-07-16 00:26:59    阅读次数:78
[Lintcode]739. 24 Game/[Leetcode]679. 24 Game
[Lintcode]739. 24 Game/[Leetcode]679. 24 Game 本题难度: Hard/Medium Description You have 4 cards each containing a number from 1 to 9. You need to judge w ...
分类:其他好文   时间:2019-07-15 22:40:24    阅读次数:167
[Leetcode] 118. Pascal's Triangle
Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. In Pascal's triangle, each number is the sum of the two numbers ...
分类:其他好文   时间:2019-07-14 23:51:04    阅读次数:162
[448]Find All Numbers Disappeared in an Array
Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Given an array of integers where ...
分类:移动开发   时间:2019-07-14 21:27:18    阅读次数:141
1047 Student List for Course (25 分)
1047 Student List for Course (25 分) 1047 Student List for Course (25 分) 1047 Student List for Course (25 分) Zhejiang University has 40,000 students an ...
分类:其他好文   时间:2019-07-14 19:37:02    阅读次数:115
lleetcode 1 two sum c++
Problem describe:https://leetcode.com/problems/two-sum/ Given an array of integers, return indices of the two numbers such that they add up to a speci ...
分类:编程语言   时间:2019-07-13 19:56:32    阅读次数:107
[LeetCode] 129. 求根到叶子节点数字之和
题目链接 : https://leetcode cn.com/problems/sum root to leaf numbers/ 题目描述: 给定一个二叉树,它的每个结点都存放一个 0 9 的数字,每条从根到叶子节点的路径都代表一个数字。 例如,从根到叶子节点路径 1 2 3 代表数字 123。 ...
分类:其他好文   时间:2019-07-13 19:51:28    阅读次数:109
8082条   上一页 1 ... 83 84 85 86 87 ... 809 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!