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 12, 2025 20:04caandocaandoScore: 4,880Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 12, 2025 20:074,65132,949,03412,898,0001,984,0002,519,040
2Oct 12, 2025 20:074,66135,517,21612,926,0001,988,0002,281,472
3Oct 12, 2025 20:074,68140,223,38213,980,000998,0002,375,680
4Oct 12, 2025 20:044,88032,462,41914,574,0001,041,0002,285,568
5Oct 12, 2025 20:044,90132,442,66115,684,00002,285,568
6Oct 12, 2025 20:044,90546,552,43214,650,0001,046,0002,285,568