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 17, 2023 20:27LiamLiamScore: 5,616Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 17, 2023 20:275,58538,969,00615,886,0001,985,0002,285,568
2Feb 17, 2023 20:275,59144,306,97015,904,0001,988,0002,285,568
3Feb 17, 2023 20:275,60145,608,42515,932,0001,991,0002,285,568
4Feb 17, 2023 20:275,60337,381,93016,932,000996,0002,269,184
5Feb 17, 2023 20:275,60741,399,45115,950,0001,993,0002,285,568
6Feb 17, 2023 20:275,61441,562,84013,973,0003,992,0002,285,568
7Feb 17, 2023 20:275,61638,212,43616,972,000998,0002,285,568
8Feb 17, 2023 20:275,64136,229,97616,046,0002,005,0002,273,280
9Feb 17, 2023 20:275,65742,903,45816,092,0002,011,0002,281,472
10Feb 17, 2023 20:275,77891,191,48818,489,85302,293,760
11Feb 17, 2023 20:275,79353,415,07918,536,55802,306,048
12Feb 17, 2023 20:275,84586,633,10618,703,06802,174,976