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 07:37parsersmailparsersmailScore: 5,937Success
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 07:375,90247,801,81518,885,00002,285,568
2Aug 10, 2023 07:375,90342,443,50716,790,0002,098,0002,334,720
3Aug 10, 2023 07:375,90446,145,20916,906,0001,988,0002,293,760
4Aug 10, 2023 07:375,91244,393,90017,924,000995,0002,334,720
5Aug 10, 2023 07:375,92647,051,01616,966,0001,996,0002,285,568
6Aug 10, 2023 07:375,93143,268,76716,982,0001,997,0002,334,720
7Aug 10, 2023 07:375,93747,036,90816,999,0001,999,0002,293,760
8Aug 10, 2023 07:375,95145,421,35918,040,0001,002,0002,334,720
9Aug 10, 2023 07:375,96565,729,38919,089,33002,273,280
10Aug 10, 2023 07:375,96890,896,01219,097,78502,265,088
11Aug 10, 2023 07:376,00548,354,71316,182,0003,034,0002,334,720
12Aug 10, 2023 07:376,09386,056,81419,498,04302,260,992