🎲 打乱整数各位数字Shuffle Integer Digits
随机打乱每个整数的各位数字(可设种子),保留符号。本地处理。可设置「种子(留空 = 真随机)」、「去掉前导零」。Randomly shuffle the digits of each integer (optional seed), keeping the sign. Processed locally. Settings: Seed (blank = truly random), Drop leading zeros.
使用说明与常见问题How-to & FAQ
「打乱整数各位数字」是什么?What is the Shuffle Integer Digits tool?
随机打乱每个整数的各位数字(可设种子),保留符号。本地处理。可设置「种子(留空 = 真随机)」、「去掉前导零」。Randomly shuffle the digits of each integer (optional seed), keeping the sign. Processed locally. Settings: Seed (blank = truly random), Drop leading zeros.
如何使用「打乱整数各位数字」?How do I use the Shuffle Integer Digits tool?
在「打乱整数各位数字」中,把内容粘贴或输入到上方输入框,按需设置「种子(留空 = 真随机)」,结果会实时显示在下方,点击「复制结果」即可复制。Paste integers and each one gets its digits shuffled, keeping the sign. Leave "Seed" blank for a fresh random order, or enter any value to repeat it; tick "Drop leading zeros" to tidy results such as 012, then click "Copy result" to copy them.
怎样输入多个整数?How do I enter several integers?
每行一个,或用空格、逗号、分号分隔。像 1,234,567 这样每 3 位一个逗号的写法按千位分隔读作一个数(所以 10,100 是 10100,要表示两个数请写 10 100);也可以用下划线分组(1_000)。负号可用 -、−(U+2212)或全角 -,全角数字也能识别。小数、科学计数法(1e3)或夹杂文字会报错并指出是第几个、完整显示那个值。One per line, or separated by spaces, commas or semicolons. A value with a comma every three digits, like 1,234,567, is read as one number with thousands separators (so 10,100 is 10100; write 10 100 for two values); underscores also group digits (1_000). Minus can be a hyphen, the Unicode minus (U+2212) or the fullwidth minus, and fullwidth digits work. Decimals, scientific notation (1e3) or stray text give an error naming the position and showing the whole value.
结果精确吗?Are the results exact?
精确。所有整数都按大整数(BigInt)逐位处理,不经过浮点,超过 2^53 的数(例如 9007199254740993)也不会被舍入。粘贴几千上万行也是线性处理,通常在几十毫秒内完成。Yes. Every value is handled as a big integer (BigInt) with no floating-point step, so numbers above 2^53 such as 9007199254740993 are never rounded. Pasting thousands of lines is processed in linear time, usually within tens of milliseconds.
会保留前导零吗?Are leading zeros kept?
默认保留:打乱后每一位都还在,所以 1000 可能得到 0100。勾选「去掉前导零」后输出 100 这样的整数写法。负号保持在最前面。By default yes: every digit is kept, so 1000 may become 0100. Tick Drop leading zeros to get integer form such as 100. A minus sign stays in front.
输入和输出是什么样的?What does the input and output look like?
例如在「打乱整数各位数字」中输入 1234,「种子(留空 = 真随机)」设为 1,输出为:1342(⏎ 表示换行)。For example, the Shuffle Integer Digits turns the input 1234, "Seed (blank = truly random)" set to 1 into: 1342 (⏎ marks a line break).
有哪些选项可以调整?What options can I adjust?
「打乱整数各位数字」的设置:「种子(留空 = 真随机)」可留空;可勾选:「去掉前导零」。改动任一选项后结果会按新设置重新生成。Settings in the Shuffle Integer Digits — "Seed (blank = truly random)" optional; tick boxes: "Drop leading zeros". Changing any option regenerates the result with the new setting.
「打乱整数各位数字」免费吗?需要注册吗?Is the Shuffle Integer Digits free? Do I need an account?
「打乱整数各位数字」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Shuffle Integer Digits is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.