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 12, 2025 20:06caandocaandoScore: 4,785Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 12, 2025 20:064,74935,354,98213,170,0002,026,0002,285,568
2Oct 12, 2025 20:064,78539,767,30013,270,0002,041,0002,285,568
3Oct 12, 2025 20:064,79537,382,49013,298,0002,045,0002,351,104