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 24, 2024 15:38zielajzielajScore: 365,162Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 24, 2024 15:38364,2081,229,264,9671,165,466,39502,375,680
2Aug 24, 2024 15:38364,2501,217,273,6211,165,601,34202,240,512
3Aug 24, 2024 15:38364,9571,248,379,5811,167,863,65602,236,416
4Aug 24, 2024 15:38365,1621,223,566,7931,168,518,50402,240,512
5Aug 24, 2024 15:38365,2051,238,428,9221,168,654,68802,367,488
6Aug 24, 2024 15:38365,2491,233,898,1771,168,795,46902,363,392