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 25, 2021 15:39Yuriy LyfenkoYuriy LyfenkoScore: 5,164Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:395,10432,321,75916,333,00002,265,088
2May 25, 2021 15:395,11435,719,14215,342,0001,022,0002,392,064
3May 25, 2021 15:395,12339,756,27116,393,00002,400,256
4May 25, 2021 15:395,12838,277,46516,411,00002,265,088
5May 25, 2021 15:395,14330,449,36116,457,00002,392,064
6May 25, 2021 15:395,15137,597,54815,453,0001,030,0002,473,984
7May 25, 2021 15:395,16431,779,05215,493,0001,032,0002,383,872
8May 25, 2021 15:395,16639,783,82616,532,00002,527,232
9May 25, 2021 15:395,19038,202,63115,570,0001,038,0002,523,136
10May 25, 2021 15:395,30381,352,34316,970,54202,273,280
11May 25, 2021 15:395,32263,170,72917,030,65502,281,472
12May 25, 2021 15:395,34048,300,27017,088,94902,273,280