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 listJan 26, 2026 13:32Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,305Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 26, 2026 13:325,29440,073,66714,949,0001,993,0002,392,064
2Jan 26, 2026 13:325,30546,257,56415,979,000998,0002,523,136
3Jan 26, 2026 13:325,32542,238,04715,035,0002,004,0002,265,088