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 14:35Dmitry DolgopolovDmitry DolgopolovScore: 5,282Success
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 14:355,27229,533,55915,877,000992,0002,392,064
2May 24, 2021 14:355,27343,434,82215,881,000992,0002,265,088
3May 24, 2021 14:355,27347,980,87414,890,0001,985,0002,265,088
4May 24, 2021 14:355,27446,711,07815,884,000992,0002,265,088
5May 24, 2021 14:355,27740,264,52214,899,0001,986,0002,265,088
6May 24, 2021 14:355,28242,314,83514,914,0001,988,0002,387,968
7May 24, 2021 14:355,28248,467,74314,915,0001,988,0002,387,968
8May 24, 2021 14:355,29742,271,18415,952,000997,0002,392,064
9May 24, 2021 14:355,30044,867,87115,964,000997,0002,265,088
10May 24, 2021 14:355,48869,462,75417,563,02902,285,568
11May 24, 2021 14:355,50485,608,23017,613,89802,273,280
12May 24, 2021 14:355,53496,658,51517,708,42002,285,568