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 17, 2023 22:28Alexander MonakovAlexander MonakovScore: 4,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 22:284,54833,169,96514,555,00002,277,376
2Mar 17, 2023 22:284,55130,819,48614,562,00002,277,376
3Mar 17, 2023 22:284,55636,973,27714,578,00002,494,464
4Mar 17, 2023 22:284,55636,348,94914,578,00002,277,376
5Mar 17, 2023 22:284,56131,708,90414,595,00002,502,656
6Mar 17, 2023 22:284,56733,524,83214,615,00002,494,464
7Mar 17, 2023 22:284,58632,683,62013,628,0001,048,0002,277,376
8Mar 17, 2023 22:284,59433,309,78013,652,0001,050,0002,498,560
9Mar 17, 2023 22:284,65233,455,72012,902,0001,984,0002,273,280
10Mar 17, 2023 22:284,80491,963,32815,373,51902,248,704
11Mar 17, 2023 22:284,82585,878,49615,439,26902,244,608
12Mar 17, 2023 22:284,82581,585,66715,440,92702,240,512