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, 2022 14:51Bernard TeoBernard TeoScore: 8,341Success
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, 2022 14:568,15997,273,39726,108,98802,297,856
2Aug 10, 2022 14:568,23291,442,38126,342,78902,297,856
3Aug 10, 2022 14:518,333111,091,53526,665,03802,293,760
4Aug 10, 2022 14:518,34193,657,62726,692,02202,306,048
5Aug 10, 2022 14:518,346110,597,88926,705,84402,306,048
6Aug 10, 2022 14:568,378102,867,40826,810,95702,289,664