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 30, 2021 16:04Yuriy LyfenkoYuriy LyfenkoScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:045,27143,631,31314,882,0001,984,0002,392,064
2May 30, 2021 16:045,27543,461,63414,895,0001,986,0002,392,064
3May 30, 2021 16:045,27640,156,77614,898,0001,986,0002,392,064
4May 30, 2021 16:045,27845,253,28015,898,000993,0002,527,232
5May 30, 2021 16:045,28245,222,14216,903,00002,392,064
6May 30, 2021 16:045,29333,161,27614,944,0001,992,0002,510,848
7May 30, 2021 16:045,29842,475,73714,960,0001,994,0002,265,088
8May 30, 2021 16:045,30136,616,64814,969,0001,995,0002,383,872
9May 30, 2021 16:045,31344,765,03415,003,0002,000,0002,400,256
10May 30, 2021 16:045,44494,655,88717,421,08902,277,376
11May 30, 2021 16:045,45388,268,58617,449,53402,277,376
12May 30, 2021 16:045,46997,663,82717,501,82302,285,568