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 listMar 18, 2023 15:43Alexander MonakovAlexander MonakovScore: 4,551Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2023 15:434,51230,545,14414,437,00002,502,656
2Mar 18, 2023 15:434,52233,244,82514,470,00002,498,560
3Mar 18, 2023 15:434,53328,157,05214,506,00002,277,376
4Mar 18, 2023 15:434,53834,231,89314,520,00002,494,464
5Mar 18, 2023 15:434,53840,135,33314,520,00002,277,376
6Mar 18, 2023 15:434,53830,142,64314,523,00002,494,464
7Mar 18, 2023 15:434,55137,594,46814,562,00002,498,560
8Mar 18, 2023 15:434,56745,173,12514,613,00002,277,376
9Mar 18, 2023 15:434,59540,732,54113,653,0001,050,0002,498,560
10Mar 18, 2023 15:434,79191,900,88715,332,45802,236,416
11Mar 18, 2023 15:434,81781,405,20615,413,18802,236,416
12Mar 18, 2023 15:434,83459,887,78215,468,78602,236,416