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: 93,854Success
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:2993,563323,827,702195,609,000103,792,0002,437,120
2Nov 12, 2024 22:2993,854328,961,816194,215,000106,117,0002,334,720
3Nov 12, 2024 22:2993,971328,151,858193,811,000106,896,0002,273,280