10进行十进制,十六进制,八进制,二进制的转换:(#:保留进制前缀)对于带着进制前缀的,如"0x"“0o”“0b”,可以直接在后面加上’x’‘o’'b’进行删除:其他的一些小技巧:format(num, ",")快速分割千分位数字是补全多少位,^居中 >右对齐 <左对齐*^10Unexpected text node: '  'Unexpected text node: '  '⟹一共10位,居中,…
http://www.cnblogs.com/me-sa/archive/2012/03/20/erlang0047.html bnot unary bitwise not integer div integer division integer rem integer remainder of X/Y integer band bitwise and integer bor bitwise or integer bxor arithmetic bitwise xor integer bsl a…
1019 General Palindromic Number (20 分) A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single digit numbers are palindromic numbers. Althoug…
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 进制转换 { class Program { static void Main(string[] args) { //由于二进制数在C#中无法直接表示,所以所有二进制数都用一个字符串来表示,例如: 二进制: 1010 表示为 字符串:"1010&q…