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 5, 2026 11:03FrederickFrederickScore: 4,528Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 11:044,5103,025,140,09013,271,0001,163,0002,113,536
2Oct 5, 2026 11:044,5163,026,128,62113,284,0001,169,0002,113,536
3Oct 5, 2026 11:044,5183,025,162,82613,285,0001,173,0002,113,536
4Oct 5, 2026 11:044,5233,025,209,46713,301,0001,174,0002,113,536
5Oct 5, 2026 11:044,5283,027,173,56813,311,0001,179,0002,113,536
6Oct 5, 2026 11:044,5303,025,172,05813,331,0001,168,0002,113,536
7Oct 5, 2026 11:044,5333,025,164,00013,337,0001,171,0002,113,536
8Oct 5, 2026 11:044,5333,025,896,17813,332,0001,176,0002,113,536
9Oct 5, 2026 11:044,5443,025,849,06513,351,0001,192,0002,113,536