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 10, 2023 09:24parsersmailparsersmailScore: 5,813Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 09:245,76862,762,06618,457,59602,293,760
2Aug 10, 2023 09:245,79140,369,39118,531,00002,334,720
3Aug 10, 2023 09:245,80143,194,30417,531,0001,031,0002,347,008
4Aug 10, 2023 09:245,80340,953,99018,571,00002,347,008
5Aug 10, 2023 09:245,80544,207,17117,544,0001,032,0002,334,720
6Aug 10, 2023 09:245,81037,152,12018,593,00002,347,008
7Aug 10, 2023 09:245,81339,339,63718,600,00002,330,624
8Aug 10, 2023 09:245,81745,175,82418,614,00002,347,008
9Aug 10, 2023 09:245,83745,159,71618,678,00002,461,696
10Aug 10, 2023 09:245,84238,032,21618,695,00002,347,008
11Aug 10, 2023 09:245,891109,013,16618,851,18102,301,952
12Aug 10, 2023 09:245,91986,784,27918,941,85602,293,760