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 listMay 16, 2021 18:20Yuriy LyfenkoYuriy LyfenkoScore: 5,440Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:205,3951,701,906,33115,345,0001,918,0002,260,992
2May 16, 2021 18:205,4121,933,691,52616,299,0001,018,0002,519,040
3May 16, 2021 18:205,4223,023,497,98316,387,000963,0002,523,136
4May 16, 2021 18:205,4282,704,846,27817,370,00002,523,136
5May 16, 2021 18:205,435693,107,26515,461,0001,932,0002,523,136
6May 16, 2021 18:205,436320,373,36314,496,0002,899,0002,383,872
7May 16, 2021 18:205,4401,885,476,88815,475,0001,934,0002,523,136
8May 16, 2021 18:205,4451,339,537,31415,489,0001,936,0002,523,136
9May 16, 2021 18:205,4543,488,251,60615,399,0002,053,0002,265,088
10May 16, 2021 18:205,6251,586,214,25417,999,02802,277,376
11May 16, 2021 18:205,6282,592,382,38618,009,55002,285,568
12May 16, 2021 18:205,6532,574,709,70118,089,60202,285,568