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 listOct 11, 2021 14:30Mikhail ShirokovMikhail ShirokovScore: 5,596Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2021 14:305,53036,594,44717,697,00002,265,088
2Oct 11, 2021 14:305,54244,306,84416,691,0001,043,0002,383,872
3Oct 11, 2021 14:305,54435,266,13916,698,0001,043,0002,265,088
4Oct 11, 2021 14:305,57942,253,70017,853,00002,265,088
5Oct 11, 2021 14:305,58646,407,99517,874,00002,387,968
6Oct 11, 2021 14:305,58635,397,42616,883,000993,0002,392,064
7Oct 11, 2021 14:305,59646,203,85216,913,000994,0002,265,088
8Oct 11, 2021 14:305,59949,685,28316,923,000995,0002,387,968
9Oct 11, 2021 14:305,61145,995,56216,959,000997,0002,265,088
10Oct 11, 2021 14:305,77388,728,18918,473,16402,285,568
11Oct 11, 2021 14:305,78775,586,40418,518,05802,281,472
12Oct 11, 2021 14:305,81982,086,94518,622,15002,285,568