mirror of
https://github.com/house-of-vanity/sum_counter.git
synced 2025-08-21 15:57:19 +00:00
Update README.md
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
# sum_counter
|
# sum_counter
|
||||||
Sum all digits in numbers from 0 to Y
|
Homebrew bad benchmark tool.
|
||||||
|
|
||||||
Both scripts do the same - just sum every digit in every number.
|
|
||||||
|
just sum every digit of every number.
|
||||||
ex. 0 - 12 = 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + *1 + 0 + 1 + 1 + 1 + 2* = 51
|
ex. 0 - 12 = 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + *1 + 0 + 1 + 1 + 1 + 2* = 51
|
||||||
|
|
||||||
Both versions use fork and tested on linux.
|
All versions use fork and tested on linux.
|
||||||
|
|
||||||
GO version
|
GO version
|
||||||
```Processing sequence from 0 to 1000000000
|
```Processing sequence from 0 to 1000000000
|
||||||
|
Reference in New Issue
Block a user