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 listFeb 25, 2023 22:31Andranik ChakiryanAndranik ChakiryanScore: 5,645Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 25, 2023 22:315,60448,839,23916,936,000996,0002,359,296
2Feb 25, 2023 22:315,60444,485,97316,936,000996,0002,342,912
3Feb 25, 2023 22:315,62344,400,17715,994,0001,999,0002,355,200
4Feb 25, 2023 22:315,63345,383,89815,022,0003,004,0002,342,912
5Feb 25, 2023 22:315,63645,091,77716,031,0002,003,0002,355,200
6Feb 25, 2023 22:315,64344,472,61917,055,0001,003,0002,342,912
7Feb 25, 2023 22:315,64546,655,96816,056,0002,007,0002,351,104
8Feb 25, 2023 22:315,64650,004,20316,059,0002,007,0002,347,008
9Feb 25, 2023 22:315,67142,992,18216,132,0002,016,0002,342,912
10Feb 25, 2023 22:315,76288,004,61418,439,82502,187,264
11Feb 25, 2023 22:315,82565,387,30118,639,37502,191,360
12Feb 25, 2023 22:315,84393,072,43418,698,77702,179,072