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 listAug 4, 2026 13:15C21C21Score: 42,185Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2026 13:1540,533139,586,60824,916,000104,790,0002,113,536
2Aug 4, 2026 13:1540,683140,727,85224,908,000105,280,0002,113,536
3Aug 4, 2026 13:1540,768140,450,71624,897,000105,563,0002,113,536
4Aug 4, 2026 13:1542,061144,413,09025,853,000108,743,0002,113,536
5Aug 4, 2026 13:1542,185145,358,98925,873,000109,122,0002,113,536
6Aug 4, 2026 13:1542,441145,708,31325,756,000110,056,0002,113,536
7Aug 4, 2026 13:1542,451149,496,20525,906,000109,938,0002,113,536
8Aug 4, 2026 13:1542,587146,251,18725,940,000110,341,0002,113,536
9Aug 4, 2026 13:1542,693146,549,06525,897,000110,723,0002,113,536