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 listFeb 1, 2025 00:35mgildermgilderScore: 5,344Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 1, 2025 00:355,30736,576,91614,984,0001,997,0002,363,392
2Feb 1, 2025 00:355,34443,367,41315,090,0002,012,0002,359,296
3Feb 1, 2025 00:355,36341,130,12015,142,0002,018,0002,371,584