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 28, 2021 14:38Yuriy LyfenkoYuriy LyfenkoScore: 5,199Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 14:385,16737,448,79016,533,00002,265,088
2May 28, 2021 14:385,18733,376,03415,560,0001,037,0002,387,968
3May 28, 2021 14:385,18744,029,55815,561,0001,037,0002,392,064
4May 28, 2021 14:385,19439,402,72016,622,00002,265,088
5May 28, 2021 14:385,19534,615,38715,585,0001,039,0002,265,088
6May 28, 2021 14:385,19746,098,88415,591,0001,039,0002,265,088
7May 28, 2021 14:385,19942,696,68016,638,00002,400,256
8May 28, 2021 14:385,21141,227,21316,674,00002,265,088
9May 28, 2021 14:385,21437,581,81915,644,0001,042,0002,265,088
10May 28, 2021 14:385,35644,029,86817,139,59002,273,280
11May 28, 2021 14:385,40182,656,81017,283,39702,277,376
12May 28, 2021 14:385,42359,924,96517,352,71302,285,568