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 listDec 29, 2025 20:50Mark R BestMark R BestScore: 5,580Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 20:505,52141,584,19117,667,00002,363,392
2Dec 29, 2025 20:505,53145,194,43616,658,0001,041,0002,285,568
3Dec 29, 2025 20:505,53443,915,58717,709,00002,285,568
4Dec 29, 2025 20:505,57544,342,17816,850,000991,0002,285,568
5Dec 29, 2025 20:505,58043,841,98315,872,0001,984,0002,285,568
6Dec 29, 2025 20:505,58242,469,55115,878,0001,984,0002,379,776
7Dec 29, 2025 20:505,58546,681,92016,880,000992,0002,285,568
8Dec 29, 2025 20:505,58843,685,82516,889,000993,0002,367,488
9Dec 29, 2025 20:505,79940,798,09217,527,0001,031,0002,379,776