Format integers Sergey Svistunov

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.

Date AuthorLanguageStatus Score
Apr 21, 2026 00:06Charles CabergsCharles CabergsCPPg++13.3.0Success165,946
Apr 21, 2026 00:01Taylor DettlingTaylor DettlingRUSTrust-1.95.0Success129,370+37.32 RP
Apr 20, 2026 23:57Taylor DettlingTaylor DettlingRUSTrust-1.95.0Success250,120+39.98 RP
Apr 20, 2026 22:37olliecrowolliecrowCPPg++10.5.0Success360,286
Apr 20, 2026 22:26olliecrowolliecrowCPPg++10.5.0Success106,832
Apr 20, 2026 21:41Charles CabergsCharles CabergsCPPg++13.3.0Error
Apr 20, 2026 18:55BenBenCPPg++13.3.0Error
Apr 20, 2026 18:52Charles CabergsCharles CabergsCPPg++13.3.0Error
Apr 20, 2026 17:58olliecrowolliecrowCPPg++10.5.0Error
Apr 20, 2026 17:57olliecrowolliecrowCPPclang++18.1.3Error
Apr 20, 2026 16:19Dominique GarmierDominique GarmierCPPg++13.3.0Error
Apr 20, 2026 16:09Dominique GarmierDominique GarmierCPPg++13.3.0Error
Apr 20, 2026 16:08Dominique GarmierDominique GarmierCPPclang++18.1.3Error
Apr 20, 2026 15:48BenBenCPPg++13.3.0Error
Apr 20, 2026 15:46BenBenCPPg++13.3.0Error
Apr 20, 2026 15:39BenBenCPPg++13.3.0Error
Apr 20, 2026 15:25BenBenCPPg++13.3.0Error
Apr 20, 2026 14:15BenBenCPPg++13.3.0Error
Apr 20, 2026 13:51BenBenCPPg++13.3.0Error
Apr 20, 2026 13:51BenBenCPPclang++18.1.3Error
Apr 20, 2026 13:51BenBenCPPg++13.3.0Error
Apr 20, 2026 13:36olliecrowolliecrowRUSTrust-1.94.0Error
Apr 20, 2026 13:35olliecrowolliecrowGOgo1.26.1Error
Apr 20, 2026 13:33olliecrowolliecrowCSHARP9.0.14Error
Apr 20, 2026 13:31olliecrowolliecrowCPPg++13.3.0Error
Apr 20, 2026 13:24Dominique GarmierDominique GarmierCPPg++13.3.0Error
Apr 20, 2026 12:41Dominique GarmierDominique GarmierCPPg++13.3.0Error
Apr 19, 2026 07:19olliecrowolliecrowCPPclang++18.1.3Success113,172
Apr 19, 2026 05:22olliecrowolliecrowCPPclang++18.1.3Success127,850
Apr 19, 2026 03:29olliecrowolliecrowCPPclang++18.1.3Success109,224
Apr 18, 2026 14:03olliecrowolliecrowCSHARP9.0.14Success156,063
Apr 18, 2026 05:14olliecrowolliecrowGOgo1.26.1Error
Apr 18, 2026 05:12olliecrowolliecrowGOgo1.26.1Error
Apr 18, 2026 05:05olliecrowolliecrowCSHARP9.0.14Success155,796
Apr 18, 2026 00:39olliecrowolliecrowGOgo1.26.1Error
Apr 18, 2026 00:37olliecrowolliecrowGOgo1.26.1Error
Apr 18, 2026 00:36olliecrowolliecrowGOgo1.26.1Error
Apr 17, 2026 23:47Charles CabergsCharles CabergsCPPg++13.3.0Success163,729
Apr 17, 2026 23:46olliecrowolliecrowGOgo1.26.1Error
Apr 17, 2026 23:44olliecrowolliecrowGOgo1.26.1Error
Apr 17, 2026 23:42olliecrowolliecrowGOgo1.26.1Error
Apr 17, 2026 21:50Charles CabergsCharles CabergsCPPg++13.3.0Success163,688+24.14 RP
Apr 17, 2026 20:06Charles CabergsCharles CabergsCPPg++13.3.0Success270,645+14.73 RP
Apr 17, 2026 17:23Charles CabergsCharles CabergsCPPg++13.3.0Success450,004+22.22 RP
Apr 17, 2026 02:30olliecrowolliecrowCPPclang++18.1.3Error
Apr 17, 2026 02:24olliecrowolliecrowCPPclang++18.1.3Error
Apr 17, 2026 02:13olliecrowolliecrowRUSTrust-1.94.0Success106,832
Apr 17, 2026 02:10olliecrowolliecrowGOgo1.26.1Error
Apr 17, 2026 02:10olliecrowolliecrowRUSTrust-1.94.0Error
Apr 17, 2026 02:08olliecrowolliecrowRUSTrust-1.94.0Success106,000
Apr 17, 2026 00:45olliecrowolliecrowRUSTrust-1.94.0Success115,727
Apr 17, 2026 00:27olliecrowolliecrowRUSTrust-1.94.0Success105,579
Apr 16, 2026 19:37olliecrowolliecrowCSHARP9.0.14Success243,858
Apr 16, 2026 19:20olliecrowolliecrowRUSTrust-1.94.0Success110,179
Apr 16, 2026 19:20olliecrowolliecrowGOgo1.26.1Success213,756
Apr 16, 2026 19:17olliecrowolliecrowZIG0.14.0Success461,903
Apr 16, 2026 17:28olliecrowolliecrowCSHARP9.0.14Success161,516
Apr 16, 2026 16:58olliecrowolliecrowCSHARP9.0.14Success230,910
Apr 16, 2026 16:25olliecrowolliecrowCSHARP9.0.14Error
Apr 16, 2026 16:19olliecrowolliecrowCSHARP9.0.14Error
Apr 16, 2026 01:13olliecrowolliecrowCSHARP9.0.14Error
Apr 15, 2026 04:04olliecrowolliecrowCPPclang++18.1.3Error
Apr 12, 2026 18:40Yuriy LyfenkoYuriy LyfenkoCPPclang++18.1.3Success61,522
Apr 12, 2026 18:39Yuriy LyfenkoYuriy LyfenkoCPPclang++18.1.3Success63,182
Apr 12, 2026 18:39Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success68,110
Apr 12, 2026 17:46Yuriy LyfenkoYuriy LyfenkoCPPclang++18.1.3Error
Apr 12, 2026 17:39Yuriy LyfenkoYuriy LyfenkoCPPclang++18.1.3Error
Apr 12, 2026 17:19Yuriy LyfenkoYuriy LyfenkoCPPclang++18.1.3Success65,537
Apr 12, 2026 04:58Yuriy LyfenkoYuriy LyfenkoCPPclang++18.1.3Success99,225
Apr 12, 2026 04:47Yuriy LyfenkoYuriy LyfenkoCPPg++13.3.0Success3,133,784
Apr 12, 2026 04:00Yuriy LyfenkoYuriy LyfenkoCPPclang++18.1.3Success101,981
Apr 9, 2026 17:55olliecrowolliecrowGOgo1.26.2Error
Apr 8, 2026 02:11olliecrowolliecrowGOgo1.26.2Success201,443
Apr 7, 2026 12:38limanjun99limanjun99CPPg++13.3.0Success148,791
Apr 7, 2026 12:31limanjun99limanjun99CPPg++13.3.0Success219,659
Apr 7, 2026 12:27limanjun99limanjun99CPPg++13.3.0Success151,237
Apr 7, 2026 12:19limanjun99limanjun99CPPg++13.3.0Success149,789
Apr 7, 2026 02:16olliecrowolliecrowGOgo1.26.1Success201,746
Apr 6, 2026 19:56olliecrowolliecrowRUSTrust-1.94.1Success105,414+2.16 RP
Apr 6, 2026 15:36limanjun99limanjun99CPPg++13.3.0Success239,094
Apr 6, 2026 15:32limanjun99limanjun99CPPg++13.3.0Success197,143
Apr 6, 2026 15:26limanjun99limanjun99CPPg++13.3.0Success140,023
Apr 6, 2026 15:02limanjun99limanjun99CPPg++13.3.0Success119,774
Apr 6, 2026 14:26limanjun99limanjun99CPPg++13.3.0Success107,585
Apr 6, 2026 14:25limanjun99limanjun99CPPg++13.3.0Success167,724
Apr 6, 2026 14:20limanjun99limanjun99CPPg++13.3.0Success108,058
Apr 6, 2026 14:18limanjun99limanjun99CPPg++13.3.0Success236,951
Apr 6, 2026 10:34limanjun99limanjun99CPPg++13.3.0Success121,142
Apr 5, 2026 22:48limanjun99limanjun99CPPg++13.3.0Success195,687
Apr 5, 2026 22:08limanjun99limanjun99CPPg++13.3.0Success107,435+1.11 RP
Apr 5, 2026 21:59limanjun99limanjun99CPPg++13.3.0Success108,736+4.28 RP
Apr 5, 2026 20:48limanjun99limanjun99CPPg++13.3.0Success360,036
Apr 5, 2026 20:45limanjun99limanjun99CPPg++13.3.0Success306,374
Apr 4, 2026 14:14limanjun99limanjun99CPPg++13.3.0Success219,869
Apr 4, 2026 10:29limanjun99limanjun99CPPg++13.3.0Success122,414
Apr 4, 2026 07:27limanjun99limanjun99CPPg++13.3.0Success114,049+0.52 RP
Apr 4, 2026 07:23limanjun99limanjun99CPPg++13.3.0Success114,723+0.16 RP
Apr 4, 2026 07:05limanjun99limanjun99CPPg++13.3.0Success114,939+0.48 RP
Apr 4, 2026 06:45limanjun99limanjun99CPPg++13.3.0Success115,901
Apr 4, 2026 06:22limanjun99limanjun99CPPg++13.3.0Success130,259