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 28, 2026 12:03GKP00GKP00Score: 239,950Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2026 12:03239,633797,845,579734,833,00031,992,0002,277,376
2Jan 28, 2026 12:03239,950792,559,918736,848,00030,993,0002,494,464
3Jan 28, 2026 12:03240,450789,338,070736,465,00032,976,0002,502,656