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 24, 2021 18:48Yuriy LyfenkoYuriy LyfenkoScore: 5,152Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:485,10734,771,79515,320,0001,021,0002,387,968
2May 24, 2021 18:485,11141,366,27915,332,0001,022,0002,396,160
3May 24, 2021 18:485,11438,759,72915,344,0001,022,0002,256,896
4May 24, 2021 18:485,11543,037,38715,346,0001,023,0002,396,160
5May 24, 2021 18:485,12543,640,88616,399,00002,383,872
6May 24, 2021 18:485,13136,633,39016,420,00002,265,088
7May 24, 2021 18:485,15238,906,14316,486,00002,519,040
8May 24, 2021 18:485,15837,397,55016,505,00002,527,232
9May 24, 2021 18:485,16731,088,85116,533,00002,506,752
10May 24, 2021 18:485,32775,893,82717,047,59902,285,568
11May 24, 2021 18:485,34147,911,32317,092,78302,289,664
12May 24, 2021 18:485,61951,903,35017,981,47702,285,568