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 listJun 26, 2026 10:51Victor MerckléVictor MerckléScore: 44,226Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 26, 2026 10:5244,206150,623,941140,197,0001,264,0002,170,880stderr
2Jun 26, 2026 10:5244,212150,605,070140,214,0001,265,0002,170,880stderr
3Jun 26, 2026 10:5244,214150,586,686140,221,0001,265,0002,170,880stderr
4Jun 26, 2026 10:5244,215150,576,713140,221,0001,269,0002,174,976stderr
5Jun 26, 2026 10:5244,226150,604,061140,249,0001,275,0002,170,880stderr
6Jun 26, 2026 10:5244,230150,570,741140,496,0001,042,0002,170,880stderr
7Jun 26, 2026 10:5245,612155,115,554144,954,0001,007,0002,170,880stderr
8Jun 26, 2026 10:5245,621155,162,852144,965,0001,025,0002,174,976stderr
9Jun 26, 2026 10:5245,622155,514,672144,978,0001,013,0002,170,880stderr