🔍

首页Home › 数学工具Math

∑ 整数累计求和Find Running Total

计算整数序列的累计和(前缀和),每一步显示到目前为止的总和。本地处理。可设置「显示加数」、「千位逗号」。Compute the running (prefix) sum of a sequence of integers, showing the total so far at each step. Processed locally. Settings: Show addends, Thousands commas.

使用说明与常见问题How-to & FAQ

「整数累计求和」是什么?What is the Find Running Total tool?

计算整数序列的累计和(前缀和),每一步显示到目前为止的总和。本地处理。可设置「显示加数」、「千位逗号」。Compute the running (prefix) sum of a sequence of integers, showing the total so far at each step. Processed locally. Settings: Show addends, Thousands commas.

如何使用「整数累计求和」?How do I use the Find Running Total tool?

在「整数累计求和」中,把内容粘贴或输入到上方输入框,结果会实时显示在下方,点击「复制结果」即可复制。Paste a sequence of integers. Each line of the result is the total of all values so far; tick "Show addends" to see what was added at each step, or "Thousands commas" to format the totals, and click "Copy result" to copy it.

怎样输入多个整数?How do I enter several integers?

每行一个,或用空格、逗号、分号分隔;可带千位逗号和下划线,负数前面加 -。One per line, or separated by spaces, commas or semicolons; thousands commas and underscores are fine, put - in front of negatives.

结果精确吗?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; thousands of lines are processed in linear time.

输入和输出是什么样的?What does the input and output look like?

例如在「整数累计求和」中输入 1 ⏎ 2 ⏎ 3,输出为:1 ⏎ 3 ⏎ 6(⏎ 表示换行)。For example, the Find Running Total turns the input 1 ⏎ 2 ⏎ 3 into: 1 ⏎ 3 ⏎ 6 (⏎ marks a line break).

有哪些选项可以调整?What options can I adjust?

「整数累计求和」的设置:可勾选:「显示加数」、「千位逗号」。改动任一选项后结果会按新设置重新生成。Settings in the Find Running Total — tick boxes: "Show addends", "Thousands commas". Changing any option regenerates the result with the new setting.

「整数累计求和」免费吗?需要注册吗?Is the Find Running Total free? Do I need an account?

「整数累计求和」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Find Running Total is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

∏ 整数累计求积Find Running Product📊 整数分析(个数、求和、平均、奇偶等)Analyze Integers🔗 连接整数列表Join Integers✖️ 整数各位数字相乘Multiply Integer Digits✖️ 整数相乘Multiply Integers🧹 去除整数中的千位逗号Remove Commas from an Integer🎯 从整数列表中抽取Pick an Integer🔀 替换整数中的数字Replace Integer Digits🔁 反转整数各位数字Reverse Integer Digits➕ 把整数改写成若干数之和Rewrite Integer as Sum✖️ 把整数改写成若干数之积Rewrite Integer as Product🎲 打乱整数各位数字Shuffle Integer Digits

← 全部工具All tools