Format integers 
Compute a checksum over the decimal representations of binary integers as fast as possible.
Input: 250 000 000 uint32 values in little-endian binary on STDIN (4 bytes each).
Output: A uint64 checksum computed as:
CRC = sum of number_crc(n) for each n
where number_crc(n) converts n to its decimal string and sums ascii(digit) * position over each digit (0-indexed from the left).
Example: For n = 42, the decimal string is "42", so number_crc(42) = ascii('4') * 0 + ascii('2') * 1 = 52 * 0 + 50 * 1 = 50.
Source Code
Source code access is restricted. Log in to request access.
Challenge History
No challenges yet.
Run Statistics
| # | Date | Score | Wall Time | CPU User | CPU System | Memory | Error | |
|---|---|---|---|---|---|---|---|---|
| 1 | May 12, 2021 22:22 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc1db50a48c fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc1db50a48c pc=0x55db0ee81219] goroutine 1 [running]: runtime.throw(0x55db0ee8235c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 2 | May 12, 2021 22:25 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc1a04a0724 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc1a04a0724 pc=0x558dbf19d219] goroutine 1 [running]: runtime.throw(0x558dbf19e35c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 3 | May 12, 2021 22:24 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc0467a6dc8 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc0467a6dc8 pc=0x5629a52b2219] goroutine 1 [running]: runtime.throw(0x5629a52b335c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 4 | May 12, 2021 22:24 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc1766adab0 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc1766adab0 pc=0x563c26545219] goroutine 1 [running]: runtime.throw(0x563c2654635c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 5 | May 12, 2021 22:24 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc02beea944 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc02beea944 pc=0x563b09ccb219] goroutine 1 [running]: runtime.throw(0x563b09ccc35c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 6 | May 12, 2021 22:23 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc15e9c5514 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc15e9c5514 pc=0x56231b900219] goroutine 1 [running]: runtime.throw(0x56231b90135c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 7 | May 12, 2021 22:23 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc1d819f8d8 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc1d819f8d8 pc=0x556b69a87219] goroutine 1 [running]: runtime.throw(0x556b69a8835c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 8 | May 12, 2021 22:23 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc01eb907d4 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc01eb907d4 pc=0x555d56f43219] goroutine 1 [running]: runtime.throw(0x555d56f4435c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 9 | May 12, 2021 22:23 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc13fe08050 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc13fe08050 pc=0x55bc51338219] goroutine 1 [running]: runtime.throw(0x55bc5133935c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 10 | May 12, 2021 22:22 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc1c1222f90 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc1c1222f90 pc=0x55de19736219] goroutine 1 [running]: runtime.throw(0x55de1973735c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 11 | May 12, 2021 20:44 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc15ea722f0 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc15ea722f0 pc=0x561d6093c219] goroutine 1 [running]: runtime.throw(0x561d6093d35c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 12 | May 12, 2021 22:22 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc1d92fe71c fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc1d92fe71c pc=0x5642f05d5219] goroutine 1 [running]: runtime.throw(0x5642f05d635c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 13 | May 12, 2021 22:22 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc18c88b290 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc18c88b290 pc=0x56001e046219] goroutine 1 [running]: runtime.throw(0x56001e04735c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 14 | May 12, 2021 22:21 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc13e807448 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc13e807448 pc=0x55de614e5219] goroutine 1 [running]: runtime.throw(0x55de614e635c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 15 | May 12, 2021 20:54 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc1401a0644 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc1401a0644 pc=0x55d316737219] goroutine 1 [running]: runtime.throw(0x55d31673835c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 16 | May 12, 2021 20:53 | 0 | 0 | 0 | 0 | 0 | generator exited with code 1: 1009888771 cannot delete cgroup: Cgroup has not been created | |
| 17 | May 12, 2021 20:49 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc0bcf0d47c fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc0bcf0d47c pc=0x55c530b7d219] goroutine 1 [running]: runtime.throw(0x55c530b7e35c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 18 | May 12, 2021 20:49 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc1a3096c84 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc1a3096c84 pc=0x555618c90219] goroutine 1 [running]: runtime.throw(0x555618c9135c, 0x5) /usr/lib/go-1.13/src/runtime/pa... | |
| 19 | May 12, 2021 20:44 | 0 | 0 | 0 | 0 | 0 | exit with code 2: unexpected fault address 0xc0513e6300 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xc0513e6300 pc=0x55e1539f8219] goroutine 1 [running]: runtime.throw(0x55e1539f935c, 0x5) /usr/lib/go-1.13/src/runtime/pa... |