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
Sep 24, 2026 19:12Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success36,076+6.13 RP
Sep 24, 2026 19:10Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success151,930
Sep 24, 2026 19:04Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success40,394
Sep 24, 2026 19:03Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success36,923
Sep 24, 2026 19:01Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success321,054
Sep 24, 2026 18:49Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success221,182
Sep 24, 2026 18:44Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success201,484
Sep 24, 2026 16:30Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success40,283
Sep 24, 2026 16:26Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success40,387
Sep 24, 2026 16:23Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success190,865
Sep 24, 2026 16:11Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success36,892+7.79 RP
Sep 24, 2026 16:08Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success224,011
Sep 24, 2026 16:06Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success241,651
Sep 24, 2026 15:58Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success37,983+12.53 RP
Sep 24, 2026 15:50Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success198,103
Sep 24, 2026 15:42Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success239,912
Sep 24, 2026 15:36Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success247,636
Sep 24, 2026 15:35Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success246,063
Sep 24, 2026 15:31Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success39,881+49.83 RP
Sep 24, 2026 15:28Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success239,125
Sep 24, 2026 15:28Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success234,236
Sep 24, 2026 15:22Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success274,660
Sep 24, 2026 15:19Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success263,107
Sep 24, 2026 15:17Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success268,716
Sep 24, 2026 15:09Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success214,759
Sep 24, 2026 15:06Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success211,672
Sep 24, 2026 15:03Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success251,599
Sep 24, 2026 15:03Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success252,408
Sep 24, 2026 15:02Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success216,721
Sep 24, 2026 14:51Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success235,598
Sep 24, 2026 14:38Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success303,586
Sep 24, 2026 14:34Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success313,473
Sep 24, 2026 14:32Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success323,064
Sep 24, 2026 14:28Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success317,003
Sep 24, 2026 14:25Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success291,293
Sep 24, 2026 14:23Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success336,260
Sep 24, 2026 14:20Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success342,743
Sep 24, 2026 14:18Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success291,977
Sep 24, 2026 14:13Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success49,772+83.39 RP
Sep 24, 2026 14:09Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success355,036
Sep 24, 2026 14:01Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success331,635
Sep 24, 2026 13:48Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success422,106
Sep 24, 2026 13:41Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success262,357
Sep 24, 2026 13:40Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success273,274
Sep 24, 2026 13:33Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success925,650
Sep 24, 2026 13:23Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success433,863
Sep 23, 2026 23:49Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success24,133+2.02 RP
Sep 23, 2026 23:15Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success24,192+2.96 RP
Sep 23, 2026 22:48Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success24,352+2.36 RP
Sep 23, 2026 22:30Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success24,493+3.67 RP
Sep 23, 2026 22:17Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success24,715+2.54 RP
Sep 23, 2026 21:48Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success24,871+5.08 RP
Sep 23, 2026 21:38Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success25,189+5.76 RP
Sep 23, 2026 20:31Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success25,560+3.61 RP
Sep 23, 2026 19:47Matthias GörgensMatthias GörgensCPPclang++19.1.1Success108,017+34.98 RP
Sep 23, 2026 19:30Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success25,798+1.71 RP
Sep 23, 2026 17:50Matthias GörgensMatthias GörgensCPPclang++19.1.1Success173,625+57.60 RP
Sep 23, 2026 17:25Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success25,912+4.21 RP
Sep 23, 2026 16:55Kevin HeaveyKevin HeaveyCPPclang++18.1.3Error
Sep 23, 2026 16:24Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success26,198+1.16 RP
Sep 23, 2026 15:49Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success26,278+18.24 RP
Sep 23, 2026 15:32Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success27,601+26.54 RP
Sep 23, 2026 14:50Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success29,783+28.69 RP
Sep 23, 2026 14:46Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success32,566+13.51 RP
Sep 23, 2026 14:36Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success34,065+18.76 RP
Sep 23, 2026 14:04Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success37,407
Sep 23, 2026 13:29Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success36,390+3.79 RP
Sep 23, 2026 13:19Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success36,899+30.20 RP
Sep 23, 2026 13:10Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success41,527+34.05 RP
Sep 19, 2026 13:27Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success90,462
Sep 19, 2026 13:23Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success768,547
Sep 14, 2026 09:05Haha ExpertHaha ExpertCPPg++14.2.0Success401,075
Sep 12, 2026 05:16Haha ExpertHaha ExpertCPPg++14.2.0Success406,564
Sep 12, 2026 04:30Haha ExpertHaha ExpertCPPclang++20.1.2Success301,803
Sep 12, 2026 03:56Haha ExpertHaha ExpertCPPclang++20.1.2Success151,141+2.14 RP
Sep 12, 2026 03:53Haha ExpertHaha ExpertCPPclang++20.1.2Success156,181+0.57 RP
Sep 12, 2026 03:46Haha ExpertHaha ExpertCPPclang++20.1.2Success157,580+3.28 RP
Sep 11, 2026 15:28Haha ExpertHaha ExpertCPPclang++20.1.2Error
Sep 11, 2026 15:23Haha ExpertHaha ExpertCPPg++10.5.0Success174,162
Sep 11, 2026 15:16Haha ExpertHaha ExpertCPPclang++20.1.2Success168,231
Sep 11, 2026 14:56Haha ExpertHaha ExpertCPPclang++20.1.2Success166,159+4.38 RP
Sep 11, 2026 14:50Haha ExpertHaha ExpertCPPclang++20.1.2Success233,261
Sep 11, 2026 14:30Haha ExpertHaha ExpertCPPg++10.5.0Success203,627
Sep 11, 2026 08:46Haha ExpertHaha ExpertCPPclang++20.1.2Success179,438
Sep 11, 2026 08:37Haha ExpertHaha ExpertCPPclang++20.1.2Error
Sep 11, 2026 08:31Haha ExpertHaha ExpertCPPclang++20.1.2Error
Sep 11, 2026 08:27Haha ExpertHaha ExpertCPPclang++20.1.2Success179,199+0.03 RP
Sep 11, 2026 08:25Haha ExpertHaha ExpertCPPclang++20.1.2Success179,293+2.66 RP
Sep 11, 2026 08:21Haha ExpertHaha ExpertCPPclang++20.1.2Success188,285+1.11 RP
Sep 11, 2026 08:14Haha ExpertHaha ExpertCPPclang++20.1.2Success193,721
Sep 11, 2026 08:11Haha ExpertHaha ExpertCPPclang++20.1.2Success192,288+13.05 RP
Sep 6, 2026 16:42Haha ExpertHaha ExpertCSHARP9.0.19Success257,891+5.00 RP
Sep 4, 2026 10:12Victor MerckléVictor MerckléCPPg++14.2.0Success25,100+0.02 RP
Sep 4, 2026 09:29Victor MerckléVictor MerckléCPPg++14.2.0Success25,101+0.14 RP
Sep 4, 2026 09:22Victor MerckléVictor MerckléCPPg++14.2.0Success25,352
Sep 4, 2026 08:44Victor MerckléVictor MerckléCPPg++14.2.0Success25,738
Sep 4, 2026 08:18Victor MerckléVictor MerckléCPPg++14.2.0Success25,705
Sep 4, 2026 07:43Victor MerckléVictor MerckléCPPg++14.2.0Success25,561
Sep 4, 2026 07:18Victor MerckléVictor MerckléCPPg++14.2.0Success25,455
Sep 4, 2026 05:53Victor MerckléVictor MerckléCPPg++14.2.0Success25,110+1.26 RP