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 listAug 10, 2023 13:13Mark AlievMark AlievScore: 48,266Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 13:1348,249216,124,783154,396,10502,334,720
2Aug 10, 2023 13:1348,266225,700,915154,450,78302,342,912
3Aug 10, 2023 13:1348,293218,445,430154,537,23402,330,624