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 listSep 8, 2022 18:09Bernard TeoBernard TeoScore: 5,538Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2022 18:095,50091,926,60517,599,50202,297,856
2Sep 8, 2022 18:095,51685,273,58417,650,20502,289,664
3Sep 8, 2022 18:095,52288,056,70617,669,77502,297,856
4Sep 8, 2022 18:095,53875,817,75117,722,35602,293,760
5Sep 8, 2022 18:095,56193,824,02117,795,73802,301,952
6Sep 8, 2022 18:095,56386,109,88717,801,68102,297,856