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
May 17, 2021 16:59Yurkov AlekseyYurkov AlekseyCPPError
May 17, 2021 16:07Sergey StreminSergey StreminRUSTError
May 17, 2021 16:06Sergey StreminSergey StreminRUSTError
May 16, 2021 18:57Yuriy LyfenkoYuriy LyfenkoCPPError
May 16, 2021 18:56Yuriy LyfenkoYuriy LyfenkoCPPError
May 16, 2021 18:55Yuriy LyfenkoYuriy LyfenkoCPPError
May 16, 2021 18:55Yuriy LyfenkoYuriy LyfenkoCPPError
May 16, 2021 18:53Yuriy LyfenkoYuriy LyfenkoCPPError
May 16, 2021 18:53Yuriy LyfenkoYuriy LyfenkoCPPError
May 16, 2021 07:29Dmitry DolgopolovDmitry DolgopolovCPPSuccess495,010
May 16, 2021 07:15Dmitry DolgopolovDmitry DolgopolovCPPSuccess495,390
May 16, 2021 07:15Dmitry DolgopolovDmitry DolgopolovCPPSuccess6,291,561
May 15, 2021 15:23Andrey TsvetkovAndrey TsvetkovGOError
May 14, 2021 20:59Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:56Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:55Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:55Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:53Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:51Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:47Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:46Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:45Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:44Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:37Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:35Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:23Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:19Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:18Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:16Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:14Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:13Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 20:13Yuriy LyfenkoYuriy LyfenkoGOError
May 14, 2021 09:20Sergey StreminSergey StreminRUSTError
May 14, 2021 09:17Sergey StreminSergey StreminRUSTError
May 14, 2021 09:07Sergey StreminSergey StreminRUSTError
May 14, 2021 09:06Sergey StreminSergey StreminRUSTError
May 14, 2021 08:56Sergey StreminSergey StreminRUSTError
May 14, 2021 08:55Sergey StreminSergey StreminRUSTError
May 14, 2021 08:46Sergey StreminSergey StreminRUSTError
May 14, 2021 08:46Sergey StreminSergey StreminRUSTError
May 14, 2021 08:41Sergey StreminSergey StreminRUSTError
May 14, 2021 08:36Sergey StreminSergey StreminRUSTError
May 14, 2021 08:36Sergey StreminSergey StreminRUSTError
May 14, 2021 07:14Sergey StreminSergey StreminRUSTError
May 14, 2021 07:10Sergey StreminSergey StreminRUSTError
May 14, 2021 06:29Sergey StreminSergey StreminRUSTError
May 14, 2021 06:14Sergey StreminSergey StreminRUSTError
May 14, 2021 06:12Sergey StreminSergey StreminRUSTError
May 13, 2021 15:54Yuriy LyfenkoYuriy LyfenkoCPPError
May 13, 2021 15:52Yuriy LyfenkoYuriy LyfenkoCPPError
May 13, 2021 15:52Yuriy LyfenkoYuriy LyfenkoCPPError
May 13, 2021 15:51Yuriy LyfenkoYuriy LyfenkoCPPError
May 13, 2021 15:51Yuriy LyfenkoYuriy LyfenkoCPPError
May 13, 2021 15:49Yuriy LyfenkoYuriy LyfenkoCPPError
May 13, 2021 15:49Yuriy LyfenkoYuriy LyfenkoCPPError
May 13, 2021 15:48Yuriy LyfenkoYuriy LyfenkoCPPError
May 13, 2021 15:48Yuriy LyfenkoYuriy LyfenkoCPPError
May 13, 2021 15:48Yuriy LyfenkoYuriy LyfenkoCPPError
May 13, 2021 15:47Yuriy LyfenkoYuriy LyfenkoCPPError
May 13, 2021 13:07Sergey StreminSergey StreminRUSTError
May 13, 2021 13:07Sergey StreminSergey StreminRUSTError
May 13, 2021 13:06Sergey StreminSergey StreminRUSTError
May 13, 2021 13:03Sergey StreminSergey StreminRUSTError
May 13, 2021 12:47Sergey StreminSergey StreminRUSTError
May 13, 2021 12:45Sergey StreminSergey StreminRUSTError
May 13, 2021 12:43Sergey StreminSergey StreminRUSTError
May 13, 2021 12:20Sergey StreminSergey StreminRUSTError
May 13, 2021 12:17Sergey StreminSergey StreminRUSTError
May 13, 2021 12:16Sergey StreminSergey StreminRUSTError
May 13, 2021 12:13Sergey StreminSergey StreminRUSTError
May 13, 2021 12:12Sergey StreminSergey StreminRUSTError
May 13, 2021 12:10Sergey StreminSergey StreminRUSTError
May 13, 2021 12:07Sergey StreminSergey StreminRUSTError
May 13, 2021 12:06Sergey StreminSergey StreminRUSTError
May 13, 2021 12:05Sergey StreminSergey StreminRUSTError
May 13, 2021 11:10Sergey StreminSergey StreminRUSTError
May 13, 2021 11:01Sergey StreminSergey StreminRUSTError
May 13, 2021 10:27Sergey StreminSergey StreminRUSTError
May 13, 2021 10:26Sergey StreminSergey StreminRUSTError
May 13, 2021 10:17Sergey StreminSergey StreminRUSTError
May 13, 2021 06:10Sergey StreminSergey StreminRUSTError
May 13, 2021 06:04Sergey StreminSergey StreminRUSTError
May 12, 2021 22:37Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 22:30Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 22:29Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 22:27Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 22:25Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 22:25Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 22:24Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 22:18Andrey TsvetkovAndrey TsvetkovGOError
May 12, 2021 21:10Andrey TsvetkovAndrey TsvetkovGOError
May 12, 2021 20:52Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 20:51Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 20:50Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 20:46Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 20:44Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 20:44Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 20:43Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 20:40Yuriy LyfenkoYuriy LyfenkoGOError
May 12, 2021 20:38Yuriy LyfenkoYuriy LyfenkoGOError