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 16:36Bernard TeoBernard TeoScore: 5,516Success
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 16:365,49593,523,93917,583,51502,256,896
2Aug 10, 2022 16:365,49772,803,10017,590,99802,293,760
3Aug 10, 2022 16:365,50878,121,91617,625,29502,293,760
4Aug 10, 2022 16:365,51683,622,32317,649,98302,293,760
5Aug 10, 2022 16:365,51892,848,77417,656,99302,293,760
6Aug 10, 2022 16:365,53995,410,04617,725,93102,289,664