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 listNov 12, 2024 22:29Manuel PepeManuel PepeScore: 100,485Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 12, 2024 22:29100,317342,937,396217,010,000104,005,0002,330,624
2Nov 12, 2024 22:29100,485349,227,272215,700,000105,852,0002,260,992
3Nov 12, 2024 22:29100,567347,001,570216,874,000104,939,0002,506,752