Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 and 1. You m ...
分类:
其他好文 时间:
2017-09-10 21:51:46
阅读次数:
199
Discription You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their ...
分类:
其他好文 时间:
2017-09-10 12:39:58
阅读次数:
206
题目: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 con ...
分类:
其他好文 时间:
2017-09-09 00:04:57
阅读次数:
213
If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123*105 with ...
分类:
其他好文 时间:
2017-09-08 14:51:50
阅读次数:
160
TO_DATE格式(以时间:2007-11-02 13:45:25为例) Year: yy two digits 两位年 显示值:07 yyy three digits 三位年 显示值:007 yyyy four digits 四位年 显示值:2007 Month: mm number 两位月 显示 ...
分类:
数据库 时间:
2017-09-08 11:51:06
阅读次数:
222
题目: Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not contain any le ...
分类:
其他好文 时间:
2017-09-07 23:04:30
阅读次数:
160
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: ...
分类:
其他好文 时间:
2017-09-06 10:11:31
阅读次数:
152
Note: 1. Scan from the small level. 2. Only take the index larger one if same digits. ...
分类:
其他好文 时间:
2017-09-04 09:45:46
阅读次数:
126
Given a non-negative integer, you could swap two digits at most once to get the maximum valued number. Return the maximum valued number you could get. ...
分类:
其他好文 时间:
2017-09-03 14:14:05
阅读次数:
125
Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 Note:The input is assumed to be a 32-bit signed integer. Yo ...
分类:
其他好文 时间:
2017-09-02 16:53:16
阅读次数:
165