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
Jul 31, 2026 18:06anboto1anboto1CPPg++13.3.0Success147,180
Jul 31, 2026 18:05anboto1anboto1CPPg++13.3.0Success147,276
Jul 31, 2026 18:03anboto1anboto1CPPclang++19.1.1Success162,425
Jul 31, 2026 18:02anboto1anboto1CPPg++13.3.0Success147,174+1.36 RP
Jul 31, 2026 18:01anboto1anboto1CPPg++14.2.0Success150,170+0.01 RP
Jul 31, 2026 18:00anboto1anboto1CPPg++14.2.0Success184,484
Jul 31, 2026 17:58anboto1anboto1CPPg++14.2.0Success188,140
Jul 31, 2026 17:57anboto1anboto1CPPclang++20.1.2Success158,188
Jul 31, 2026 17:56anboto1anboto1CPPg++14.2.0Success192,181
Jul 31, 2026 17:55Josu San MartinJosu San MartinCPPclang++20.1.2Success53,954+3.72 RP
Jul 31, 2026 17:54anboto1anboto1CPPg++14.2.0Success184,683
Jul 31, 2026 17:53anboto1anboto1CPPg++14.2.0Success151,833
Jul 31, 2026 17:51anboto1anboto1CPPg++14.2.0Success150,190+7.80 RP
Jul 31, 2026 17:50anboto1anboto1CPPclang++20.1.2Success176,059
Jul 31, 2026 17:50anboto1anboto1CPPg++14.2.0Success170,115+0.08 RP
Jul 31, 2026 17:48anboto1anboto1CPPclang++20.1.2Success175,941
Jul 31, 2026 17:47Josu San MartinJosu San MartinCPPclang++20.1.2Success55,367
Jul 31, 2026 17:46anboto1anboto1CPPclang++20.1.2Success200,173
Jul 31, 2026 17:46anboto1anboto1CPPg++14.2.0Success198,625
Jul 31, 2026 17:43anboto1anboto1CPPg++14.2.0Success171,232
Jul 31, 2026 17:42anboto1anboto1CPPg++14.2.0Success281,967
Jul 31, 2026 17:41anboto1anboto1CPPclang++20.1.2Success465,226
Jul 31, 2026 17:39anboto1anboto1CPPg++14.2.0Success243,486
Jul 31, 2026 17:37anboto1anboto1CPPg++14.2.0Success239,385
Jul 31, 2026 17:36anboto1anboto1CPPg++14.2.0Success177,775
Jul 31, 2026 17:35anboto1anboto1CPPg++14.2.0Success170,356+1.08 RP
Jul 31, 2026 17:34anboto1anboto1CPPclang++20.1.2Success173,550+0.50 RP
Jul 31, 2026 17:32anboto1anboto1CPPclang++20.1.2Success222,683
Jul 31, 2026 17:27anboto1anboto1CPPclang++20.1.2Success180,377
Jul 31, 2026 17:23Josu San MartinJosu San MartinCPPclang++20.1.2Success55,058+0.54 RP
Jul 31, 2026 17:22anboto1anboto1CPPclang++20.1.2Success221,530
Jul 31, 2026 17:19anboto1anboto1CPPclang++20.1.2Success267,623
Jul 31, 2026 17:16Josu San MartinJosu San MartinCPPclang++20.1.2Success55,222+3.19 RP
Jul 31, 2026 17:16anboto1anboto1CPPclang++20.1.2Success200,876
Jul 31, 2026 17:15anboto1anboto1CPPclang++20.1.2Success197,617
Jul 31, 2026 17:13Josu San MartinJosu San MartinCPPclang++20.1.2Success56,590
Jul 31, 2026 17:12anboto1anboto1CPPclang++20.1.2Success175,071+57.12 RP
Jul 31, 2026 16:08Josu San MartinJosu San MartinCPPclang++20.1.2Success56,213+1.32 RP
Jul 31, 2026 15:58Josu San MartinJosu San MartinCPPclang++18.1.3Success56,909
Jul 31, 2026 15:50Josu San MartinJosu San MartinCPPclang++20.1.2Success62,727
Jul 31, 2026 15:25Josu San MartinJosu San MartinCPPclang++20.1.2Success56,634+13.77 RP
Jul 31, 2026 15:17Josu San MartinJosu San MartinCPPclang++20.1.2Success70,331
Jul 31, 2026 15:00Josu San MartinJosu San MartinCPPclang++20.1.2Success61,836
Jul 31, 2026 14:56Josu San MartinJosu San MartinCPPclang++20.1.2Success61,426+29.60 RP
Jul 31, 2026 14:50Josu San MartinJosu San MartinCPPclang++20.1.2Success75,078+13.49 RP
Jul 31, 2026 14:38Josu San MartinJosu San MartinCPPclang++20.1.2Success89,552
Jul 31, 2026 14:34Josu San MartinJosu San MartinCPPclang++14.0.6Success92,428
Jul 31, 2026 14:28Josu San MartinJosu San MartinCPPg++10.5.0Success99,697
Jul 31, 2026 06:13TonyTonyCPPg++10.5.0Success2,149,381+4.65 RP
Jul 29, 2026 06:04Kevin HeaveyKevin HeaveyCPPclang++20.1.2Success55,905
Jul 28, 2026 12:53Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success55,919
Jul 28, 2026 10:33Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success52,462
Jul 28, 2026 10:28Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success50,857
Jul 28, 2026 08:54Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success57,805
Jul 28, 2026 01:00Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success54,497
Jul 28, 2026 01:00Kevin HeaveyKevin HeaveyCPPg++10.5.0Success56,425
Jul 28, 2026 00:30Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success114,041
Jul 28, 2026 00:20Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success125,953
Jul 28, 2026 00:15Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success56,811
Jul 28, 2026 00:08Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success60,355
Jul 27, 2026 17:26Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success49,354
Jul 27, 2026 17:01Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success51,596
Jul 27, 2026 15:55Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success48,969
Jul 27, 2026 15:54Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success48,366+12.30 RP
Jul 27, 2026 15:51Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success63,168
Jul 27, 2026 15:47Kevin HeaveyKevin HeaveyCPPclang++20.1.2Success61,665
Jul 27, 2026 15:47Kevin HeaveyKevin HeaveyCPPclang++19.1.1Success62,702
Jul 27, 2026 15:47Kevin HeaveyKevin HeaveyCPPclang++16.0.6Success62,297
Jul 27, 2026 15:44Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success62,073
Jul 27, 2026 15:40Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success62,886
Jul 27, 2026 15:40Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success62,370
Jul 27, 2026 15:10Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success62,990
Jul 27, 2026 15:10Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success62,225
Jul 27, 2026 15:09Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success62,717
Jul 27, 2026 15:09Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success62,401
Jul 27, 2026 15:08Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success64,894
Jul 27, 2026 15:08Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success63,141
Jul 27, 2026 15:05Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success63,388
Jul 27, 2026 14:59Kevin HeaveyKevin HeaveyCPPclang++18.1.3Success65,005
Jul 27, 2026 14:50Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success65,497
Jul 27, 2026 14:50Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success65,457
Jul 27, 2026 14:50Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success64,636
Jul 27, 2026 14:35Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success66,733
Jul 27, 2026 14:35Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success65,712
Jul 27, 2026 14:34Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success66,069
Jul 27, 2026 14:34Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success65,322
Jul 27, 2026 14:30Kevin HeaveyKevin HeaveyCPPclang++14.0.6Error
Jul 27, 2026 14:30Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success66,594
Jul 27, 2026 14:30Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success64,920
Jul 27, 2026 14:29Kevin HeaveyKevin HeaveyCPPclang++14.0.6Error
Jul 27, 2026 14:29Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success66,345
Jul 27, 2026 14:29Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success68,498
Jul 27, 2026 14:25Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success67,455
Jul 27, 2026 14:25Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success64,031
Jul 27, 2026 14:25Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success60,615
Jul 27, 2026 14:25Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success65,986
Jul 27, 2026 14:25Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success62,387
Jul 27, 2026 14:23Kevin HeaveyKevin HeaveyCPPclang++15.0.7Success66,412
Jul 27, 2026 14:23Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success65,597
Jul 27, 2026 14:23Kevin HeaveyKevin HeaveyCPPclang++14.0.6Success64,166