码迷,mamicode.com
首页 >  
搜索关键字:digits    ( 2164个结果
pat甲级 1001 A+B Format
要写甲级题,首要任务是解决英文这个大难题。 困难词汇(我不认识的):calculate计算 standard format 标准格式 digits数字 separated 分离 commas逗号 这道题的大致意思是,给出两个数a和b,并且a和b都大于等于-10的6次方小于等于10的6次方,求出a和b ...
分类:其他好文   时间:2018-11-12 21:21:58    阅读次数:190
306.Additive Number
Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. Except for the f ...
分类:其他好文   时间:2018-11-05 16:18:38    阅读次数:112
842.Split Array into Fibonacci Sequence
Given a string S of digits, such as S = "123456579", we can split it into a Fibonacci like sequence [123, 456, 579]. Formally, a Fibonacci like sequen ...
分类:其他好文   时间:2018-11-05 16:13:20    阅读次数:142
007. Reverse Integer
题目链接:https://leetcode.com/problems/reverse-integer/description/ Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Out ...
分类:其他好文   时间:2018-11-05 11:36:24    阅读次数:95
#Leetcode# 7. Reverse Integer
https://leetcode.com/problems/reverse-integer/description/ Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example ...
分类:其他好文   时间:2018-11-02 23:59:48    阅读次数:309
PAT 1136 A Delayed Palindrome[简单]
Consider a positive integer N written in standard notation with k+1 digits a?i?? as a?k???a?1??a?0?? with 0≤a?i??<10for all i and a?k??>0. Then N is p ...
分类:其他好文   时间:2018-11-01 16:07:47    阅读次数:160
[LeetCode&Python] Problem 258. Add Digits
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. Example: Input: 38 Output: 2 Explanation: The pro ...
分类:编程语言   时间:2018-10-31 13:58:54    阅读次数:152
753. Cracking the Safe
There is a box protected by a password. The password is n digits, where each letter can be one of the first k digits 0, 1, ..., k 1. You can keep inpu ...
分类:其他好文   时间:2018-10-31 12:41:00    阅读次数:181
leetcode-2 Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:其他好文   时间:2018-10-27 15:22:19    阅读次数:117
788. Rotated Digits
X is a good number if after rotating each digit individually by 180 degrees, we get a valid number that is different from X. Each digit must be rotate ...
分类:其他好文   时间:2018-10-25 00:17:13    阅读次数:187
2164条   上一页 1 ... 34 35 36 37 38 ... 217 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!