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 listApr 24, 2025 17:29lukostlukostScore: 52,145Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 17:2951,812192,011,04843,946,000121,852,0002,322,432
2Apr 24, 2025 17:2952,145197,686,22732,973,000133,891,0002,445,312
3Apr 24, 2025 17:2952,181195,226,01847,994,000118,985,0002,387,968