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 listApr 22, 2026 12:44olliecrowolliecrowScore: 50,441Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2026 12:4750,362177,570,987158,158,0003,003,0002,318,336
2Apr 22, 2026 12:4750,378175,490,967159,210,0002,002,0002,322,432
3Apr 22, 2026 12:4750,385179,505,199159,233,0002,002,0002,375,680
4Apr 22, 2026 12:4750,387175,656,149160,240,0001,001,0002,314,240
5Apr 22, 2026 12:4750,441169,815,281160,410,0001,002,0002,371,584
6Apr 22, 2026 12:4750,500169,604,343160,598,0001,003,0002,375,680
7Apr 22, 2026 12:4750,609169,232,195158,950,0002,999,0002,375,680
8Apr 22, 2026 12:4750,635169,264,906158,034,0004,000,0002,375,680
9Apr 22, 2026 12:4750,880170,872,047160,820,0001,997,0002,359,296