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
Jun 16, 2025 15:07Павел РатмановПавел РатмановCPPg++13.3.0Success1,080,880+0.01 RP
Jun 14, 2025 14:36Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 13, 2025 14:09Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 13, 2025 09:28Павел РатмановПавел РатмановCPPg++13.3.0Success1,082,555+5.26 RP
Jun 13, 2025 09:26Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 13, 2025 09:22Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 13, 2025 08:17Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 12, 2025 21:23Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 12, 2025 21:22Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 12, 2025 21:20Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 12, 2025 21:17Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 12, 2025 21:12Павел РатмановПавел РатмановCPPg++13.3.0Success2,511,254+0.57 RP
Jun 12, 2025 21:01Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 12, 2025 21:00Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 12, 2025 20:58Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 12, 2025 20:55Павел РатмановПавел РатмановCPPg++13.3.0Success2,929,664+3.41 RP
Jun 12, 2025 20:55Павел РатмановПавел РатмановCPPg++13.3.0Error
Jun 12, 2025 19:06Daniel NeumannDaniel NeumannRUSTrust-1.87.0Success1,611,951
Jun 12, 2025 19:02Daniel NeumannDaniel NeumannRUSTrust-1.87.0Success1,648,110
Jun 11, 2025 21:14Daniel NeumannDaniel NeumannRUSTrust-1.87.0Success1,610,891
Jun 11, 2025 21:08Daniel NeumannDaniel NeumannRUSTrust-1.87.0Error
Jun 11, 2025 20:45Daniel NeumannDaniel NeumannRUSTrust-1.87.0Error
Jun 11, 2025 20:43Daniel NeumannDaniel NeumannRUSTrust-1.87.0Error
Jun 11, 2025 20:29Daniel NeumannDaniel NeumannRUSTrust-1.87.0Success1,610,576+3.55 RP
Jun 11, 2025 20:14Daniel NeumannDaniel NeumannRUSTrust-1.87.0Success3,757,324+2.66 RP
Jun 11, 2025 20:11Daniel NeumannDaniel NeumannRUSTrust-1.87.0Error
May 31, 2025 15:31KeefeKeefeCPPclang++18.1.3Success154,081
May 29, 2025 05:20NoSIMD_C#NoSIMD_C#CSHARP9.0.5Success838,909+0.01 RP
May 19, 2025 05:23Yuriy LyfenkoYuriy LyfenkoCPPg++13.2.0Error
May 11, 2025 10:31Emanuele BolognesiEmanuele BolognesiRUSTrust-1.86.0Success919,189+0.29 RP
May 11, 2025 10:27Emanuele BolognesiEmanuele BolognesiRUSTrust-1.86.0Success944,149
May 11, 2025 10:16Emanuele BolognesiEmanuele BolognesiRUSTrust-1.86.0Success944,146+6.27 RP
May 10, 2025 14:19Emanuele BolognesiEmanuele BolognesiRUSTrust-1.86.0Success2,315,507+4.32 RP
May 10, 2025 13:49KeefeKeefeCPPg++13.3.0Success153,771+0.26 RP
May 10, 2025 13:47KeefeKeefeCPPg++13.3.0Error
May 10, 2025 13:41KeefeKeefeCPPg++13.3.0Success156,626
May 6, 2025 14:13KeefeKeefeCPPg++13.3.0Error
May 6, 2025 14:09KeefeKeefeCPPg++13.3.0Success237,767
May 6, 2025 14:05KeefeKeefeCPPg++13.3.0Success245,024
May 6, 2025 14:00KeefeKeefeCPPg++13.3.0Success244,782
May 6, 2025 13:56KeefeKeefeCPPg++13.3.0Success163,261
May 6, 2025 13:53KeefeKeefeCPPg++13.3.0Error
May 6, 2025 13:50KeefeKeefeCPPg++13.3.0Success221,481
Apr 28, 2025 15:01etherealetherealGOgo1.24.2Success347,754
Apr 28, 2025 14:59etherealetherealGOgo1.24.2Error
Apr 28, 2025 14:55etherealetherealGOgo1.24.2Success280,364+35.67 RP
Apr 28, 2025 14:53etherealetherealGOgo1.24.2Error
Apr 23, 2025 09:23NoSIMD_C#NoSIMD_C#CSHARP9.0.4Success840,454
Apr 23, 2025 09:22NoSIMD_C#NoSIMD_C#CSHARP9.0.4Success839,451+0.01 RP
Apr 23, 2025 09:21NoSIMD_C#NoSIMD_C#CSHARP9.0.4Success840,277
Apr 23, 2025 09:20NoSIMD_C#NoSIMD_C#CSHARP9.0.4Success840,379
Apr 23, 2025 08:27NoSIMD_C#NoSIMD_C#CSHARP9.0.4Success839,891
Apr 22, 2025 16:58KeefeKeefeCPPg++13.3.0Error
Apr 22, 2025 16:56KeefeKeefeCPPg++13.3.0Error
Apr 22, 2025 16:49NoSIMD_C#NoSIMD_C#CSHARP9.0.4Success858,521
Apr 22, 2025 16:48KeefeKeefeCPPg++13.3.0Success161,821
Apr 22, 2025 16:45KeefeKeefeCPPg++13.3.0Error
Apr 22, 2025 16:44NoSIMD_C#NoSIMD_C#CSHARP9.0.4Error
Apr 22, 2025 16:42KeefeKeefeCPPg++13.3.0Success225,992
Apr 22, 2025 16:39KeefeKeefeCPPg++13.3.0Success154,396+16.15 RP
Apr 22, 2025 16:37KeefeKeefeCPPg++13.3.0Error
Apr 22, 2025 16:34KeefeKeefeCPPg++13.3.0Error
Apr 22, 2025 16:31KeefeKeefeCPPg++13.3.0Success205,671+6.35 RP
Apr 22, 2025 16:23KeefeKeefeCPPg++13.3.0Success236,551+0.55 RP
Apr 22, 2025 16:21KeefeKeefeCPPg++13.3.0Success239,663+26.08 RP
Apr 22, 2025 16:14KeefeKeefeCPPg++13.3.0Success639,225+6.36 RP
Apr 22, 2025 16:12KeefeKeefeCPPg++13.3.0Error
Apr 20, 2025 20:37zielajzielajCPPclang++18.1.3Error
Apr 20, 2025 20:25zielajzielajCPPclang++18.1.3Error
Apr 20, 2025 20:22zielajzielajCPPclang++18.1.3Error
Apr 20, 2025 20:21zielajzielajCPPclang++18.1.3Error
Apr 18, 2025 04:50Chandrasekaran AkashChandrasekaran AkashCPPclang++18.1.3Success1,116,534
Apr 18, 2025 04:47Chandrasekaran AkashChandrasekaran AkashCPPclang++18.1.3Error
Apr 9, 2025 17:33NoSIMD_C#NoSIMD_C#CSHARP9.0.4Success840,637
Apr 8, 2025 07:40NoSIMD_C#NoSIMD_C#CPPclang++18.1.3Success560,482
Apr 8, 2025 07:22NoSIMD_C#NoSIMD_C#CPPclang++18.1.3Success560,450
Apr 8, 2025 07:12NoSIMD_C#NoSIMD_C#CPPclang++18.1.3Success559,033+0.05 RP
Apr 8, 2025 07:12NoSIMD_C#NoSIMD_C#CSHARP9.0.3Success840,057
Apr 8, 2025 06:35NoSIMD_C#NoSIMD_C#CPPg++13.2.0Success583,958
Apr 8, 2025 06:34NoSIMD_C#NoSIMD_C#CPPclang++18.1.3Success560,487+2.95 RP
Apr 8, 2025 06:15NoSIMD_C#NoSIMD_C#CSHARP9.0.3Success840,361+3.20 RP
Apr 6, 2025 13:53Aniruddha DebAniruddha DebCPPg++13.2.0Success361,297+6.61 RP
Apr 6, 2025 12:36Aniruddha DebAniruddha DebCPPg++13.2.0Success474,627+8.34 RP
Apr 6, 2025 12:02Aniruddha DebAniruddha DebCPPg++13.2.0Success785,645+12.73 RP
Apr 5, 2025 12:57NoSIMD_C#NoSIMD_C#CSHARP9.0.3Error
Apr 5, 2025 12:33NoSIMD_C#NoSIMD_C#CSHARP9.0.3Error
Apr 5, 2025 12:31NoSIMD_C#NoSIMD_C#CSHARP9.0.3Error
Apr 5, 2025 12:29NoSIMD_C#NoSIMD_C#CSHARP9.0.3Error
Apr 5, 2025 12:17NoSIMD_C#NoSIMD_C#CSHARP9.0.3Error
Apr 5, 2025 12:17NoSIMD_C#NoSIMD_C#CSHARP9.0.3Error
Apr 5, 2025 04:47NoSIMD_C#NoSIMD_C#CSHARP9.0.3Error
Apr 5, 2025 04:46NoSIMD_C#NoSIMD_C#CSHARP9.0.3Error
Apr 5, 2025 04:44NoSIMD_C#NoSIMD_C#CSHARP9.0.3Error
Apr 5, 2025 04:12NoSIMD_C#NoSIMD_C#CSHARP9.0.3Success1,211,206
Apr 5, 2025 04:10NoSIMD_C#NoSIMD_C#CSHARP9.0.3Success1,156,763
Apr 5, 2025 04:09NoSIMD_C#NoSIMD_C#CSHARP9.0.3Error
Apr 5, 2025 04:06NoSIMD_C#NoSIMD_C#CSHARP9.0.3Error
Apr 4, 2025 07:08Advait IyerAdvait IyerCPPclang++18.1.3Success655,033
Mar 30, 2025 23:19zielajzielajCPPclang++18.1.3Error
Mar 30, 2025 22:03zielajzielajCPPclang++18.1.3Error