Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listAug 4, 2024 03:36eternalhopeeternalhopeScore: 4,766Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 03:364,73640,295,48714,144,0001,010,0002,289,664
2Aug 4, 2024 03:364,73831,930,72214,153,0001,010,0002,289,664
3Aug 4, 2024 03:364,73932,978,89713,143,0002,022,0002,289,664
4Aug 4, 2024 03:364,74435,866,00114,170,0001,012,0002,289,664
5Aug 4, 2024 03:364,75031,791,77514,188,0001,013,0002,273,280
6Aug 4, 2024 03:364,76438,405,65913,213,0002,032,0002,289,664
7Aug 4, 2024 03:364,76631,474,59614,234,0001,016,0002,289,664
8Aug 4, 2024 03:364,79138,655,78213,288,0002,044,0002,265,088
9Aug 4, 2024 03:364,81841,537,31813,362,0002,055,0002,281,472
10Aug 4, 2024 03:365,02587,489,14216,079,40902,310,144
11Aug 4, 2024 03:365,04279,583,87216,133,43202,293,760
12Aug 4, 2024 03:365,06160,405,08116,194,49502,301,952