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 26, 2024 13:14vahookvahookScore: 4,280Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2024 13:144,25533,092,15513,617,00002,277,376
2Aug 26, 2024 13:144,26532,167,39313,649,00002,502,656
3Aug 26, 2024 13:144,26939,518,50213,662,00002,277,376
4Aug 26, 2024 13:144,27248,148,75313,670,00002,277,376
5Aug 26, 2024 13:144,27535,536,67813,679,00002,494,464
6Aug 26, 2024 13:144,27735,575,05613,687,00002,494,464
7Aug 26, 2024 13:144,28034,596,35413,695,00002,506,752
8Aug 26, 2024 13:144,29335,055,30013,738,00002,486,272
9Aug 26, 2024 13:144,33625,891,10212,883,000991,0002,535,424
10Aug 26, 2024 13:144,53377,418,51414,504,09802,260,992
11Aug 26, 2024 13:144,55280,255,12214,566,79002,379,776
12Aug 26, 2024 13:144,55592,083,18414,575,34502,256,896