码迷,mamicode.com
首页 >  
搜索关键字:digits    ( 2164个结果
Multiple(BFS+同余剪枝)
Description a program that, given a natural number N between 0 and 4999 (inclusively), and M distinct decimal digits X1,X2..XM (at least one), finds t ...
分类:其他好文   时间:2018-08-30 00:03:09    阅读次数:297
681. Next Closest Time
681. Next Closest Time Given a time represented in the format "HH:MM", form the next closest time by reusing the current digits. There is no limit on ... ...
分类:其他好文   时间:2018-08-28 21:15:42    阅读次数:234
Geekforgeek week1
1. is palindrome solution 1: check to reverse the digit, if they are the same number https://www.geeksforgeeks.org/write-a-c-program-to-reverse-digits ...
分类:其他好文   时间:2018-08-26 11:52:21    阅读次数:132
Divide by Three CodeForces - 792C
A positive integer number n is written on a blackboard. It consists of not more than 105 digits. You have to transform it into a beautiful number by e ...
分类:其他好文   时间:2018-08-24 02:01:55    阅读次数:158
556. Next Greater Element III下一个更大的数字
[抄题]: Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing in the integer n and ...
分类:其他好文   时间:2018-08-21 22:40:44    阅读次数:313
[Math_Medium] 869. Reordered Power of 2
"原题:869. Reordered Power of 2" Starting with a positive integer N, we reorder the digits in any order (including the original order) such that the lea ...
分类:其他好文   时间:2018-08-21 21:45:11    阅读次数:150
[LeetCode] 7. Reverse Integer
Given a 32 bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note: Assume we are dealing with an environment which co ...
分类:其他好文   时间:2018-08-21 13:55:49    阅读次数:143
[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-08-20 11:37:53    阅读次数:135
PAT 1120 Friend Numbers
Two integers are called "friend numbers" if they share the same sum of their digits, and the sum is their "friend ID". For example, 123 and 51 are fri ...
分类:其他好文   时间:2018-08-19 19:03:09    阅读次数:110
LeetCode 7: Reverse Integer
Description: Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note:Assume we are dealing with an environm ...
分类:其他好文   时间:2018-08-16 17:36:23    阅读次数:137
2164条   上一页 1 ... 40 41 42 43 44 ... 217 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!