Cutting an integer means to cut a K digits lone integer Z into two integers of (K/2) digits long integers A and B. For example, after cutting Z = 1673 ...
分类:
其他好文 时间:
2020-01-27 17:11:56
阅读次数:
80
1005 Spell It Right (20分) 题目: Given a non negative integer N , your task is to compute the sum of all the digits of N , and output every digit of the ...
分类:
其他好文 时间:
2020-01-26 23:49:39
阅读次数:
85
Calculate a+b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unless there are less than ...
分类:
其他好文 时间:
2020-01-24 09:27:01
阅读次数:
89
Given a non negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat ...
分类:
其他好文 时间:
2020-01-24 00:07:46
阅读次数:
93
一、题目要求 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 ...
分类:
其他好文 时间:
2020-01-23 12:26:54
阅读次数:
77
Given a positive integer num consisting only of digits 6 and 9. Return the maximum number you can get by changing at most one digit (6 becomes 9, and ...
分类:
其他好文 时间:
2020-01-22 10:56:58
阅读次数:
75
题目如下: Given a positive integer num consisting only of digits 6 and 9. Return the maximum number you can get by changing at most one digit (6 becomes 9 ...
分类:
其他好文 时间:
2020-01-20 14:43:03
阅读次数:
69
D - Beautiful Numbers Vitaly is a very weird man. He's got two favorite digits a and b. Vitaly calls a positive integer good, if the decimal represent ...
分类:
其他好文 时间:
2020-01-16 19:06:21
阅读次数:
79
Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less tha ...
分类:
其他好文 时间:
2020-01-13 17:48:46
阅读次数:
87
import java.util.ArrayList; import java.util.LinkedList; import java.util.List; /* * Given a string containing digits from 2-9 inclusive, return all p ...
分类:
其他好文 时间:
2020-01-12 15:05:05
阅读次数:
91