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:15GKP00GKP00Score: 99,267Success
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:1598,808343,051,169284,166,00032,018,0002,326,528
2Jan 28, 2026 12:1598,836336,733,817283,248,00033,028,0002,502,656
3Jan 28, 2026 12:1599,081342,263,427284,053,00033,006,0002,506,752
4Jan 28, 2026 12:1599,118341,861,240286,161,00031,017,0002,502,656
5Jan 28, 2026 12:1599,267345,224,651285,690,00031,965,0002,289,664
6Jan 28, 2026 12:1599,469343,492,868289,273,00029,027,0002,506,752
7Jan 28, 2026 12:1599,724350,047,039283,104,00036,013,0002,494,464
8Jan 28, 2026 12:1599,734343,024,677287,134,00032,015,0002,494,464
9Jan 28, 2026 12:1599,862347,973,277286,604,00032,954,0002,469,888