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 5, 2024 16:18Bernard TeoBernard TeoScore: 5,581Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 5, 2024 16:185,53284,501,98317,703,88202,297,856
2Aug 5, 2024 16:185,58182,529,21417,860,14502,301,952
3Aug 5, 2024 16:185,58476,123,65317,868,96002,293,760