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 4, 2025 21:32CountHarebourgCountHarebourgScore: 28,039Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2025 21:3227,902118,071,57322,070,00067,215,0002,473,984
2Apr 4, 2025 21:3228,039116,495,48522,929,00066,795,0002,404,352
3Apr 4, 2025 21:3228,283114,548,21426,146,00064,360,0002,379,776