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 17:59Bernard TeoBernard TeoScore: 5,491Success
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 17:595,47498,731,00817,515,48902,289,664
2Sep 8, 2022 17:595,47878,293,71617,528,34502,293,760
3Sep 8, 2022 17:595,48689,718,57317,554,07602,293,760
4Sep 8, 2022 17:595,49194,115,33917,570,11602,293,760
5Sep 8, 2022 17:595,50083,804,45217,598,96502,289,664
6Sep 8, 2022 17:595,50874,720,28217,626,07802,293,760