Primary ArithmeticChildren are taught to add multi-digit numbers from right-to-left one digit at a time. Many find the "carry" operation - in which a ...
分类:
其他好文 时间:
2014-11-24 22:16:13
阅读次数:
205
源于hdu1013题目描述:The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that...
分类:
其他好文 时间:
2014-11-23 18:54:41
阅读次数:
249
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2014-11-23 14:21:27
阅读次数:
140
Problem Description
A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each digit as a box with weight indicated by the ...
分类:
其他好文 时间:
2014-11-23 00:44:31
阅读次数:
244
最近接触的系统多数为rhel,rhel自带的yum又不能联网安装,于是写了个一键安装的脚本,支持rhel5.x&rhel6.x,选用的是网易的源。#!/bin/sh
#authorbythundermeng
./etc/init.d/functions
bit=`getconfLONG_BIT`
release=`sed-r-n‘s/(.*)([[:digit:]])\.([[:digit:]])(.*)/..
分类:
其他好文 时间:
2014-11-21 16:34:38
阅读次数:
257
题目描述:
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return i...
分类:
其他好文 时间:
2014-11-21 12:42:05
阅读次数:
241
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2014-11-19 12:05:22
阅读次数:
204
题目描述:
Given a non-negative number represented as an array of digits, plus one to the number.
The digits are stored such that the most significant digit is at the head of the list.
思路:先将list...
分类:
其他好文 时间:
2014-11-19 11:04:49
阅读次数:
175
implicit关键字用于声明隐式的用户定义类型转换运算符。如果可以确保转换过程不会造成数据丢失,则可使用该关键字在用户定义类型和其他类型之间进行隐式转换。class Digit{ public Digit(double d) { val = d; } public double val...
分类:
其他好文 时间:
2014-11-17 13:44:24
阅读次数:
145
描述The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is th...
分类:
其他好文 时间:
2014-11-16 17:16:56
阅读次数:
270