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 13, 2021 22:19Yuriy LyfenkoYuriy LyfenkoScore: 5,465Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 22:195,42536,828,12914,297,0003,063,0002,392,064
2May 13, 2021 22:195,43834,160,94116,379,0001,023,0002,387,968
3May 13, 2021 22:195,43945,254,31017,404,00002,260,992
4May 13, 2021 22:195,43937,259,88016,382,0001,023,0002,523,136
5May 13, 2021 22:195,45339,715,34316,425,0001,026,0002,523,136
6May 13, 2021 22:195,45643,368,83317,459,00002,260,992
7May 13, 2021 22:195,46539,418,02717,489,00002,396,160
8May 13, 2021 22:195,46632,019,99015,433,0002,057,0002,260,992
9May 13, 2021 22:195,47240,433,70517,510,00002,523,136
10May 13, 2021 22:195,65582,576,73918,097,50502,269,184
11May 13, 2021 22:195,68275,220,30418,180,80902,273,280
12May 13, 2021 22:195,69293,425,96718,214,99502,277,376