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 listFeb 1, 2025 00:31mgildermgilderScore: 5,327Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 1, 2025 00:315,30635,311,50814,981,0001,997,0002,367,488
2Feb 1, 2025 00:315,30638,616,29115,982,000998,0002,289,664
3Feb 1, 2025 00:315,32347,426,34515,031,0002,004,0002,371,584
4Feb 1, 2025 00:315,32441,461,91715,033,0002,004,0002,371,584
5Feb 1, 2025 00:315,32747,676,92416,045,0001,002,0002,363,392
6Feb 1, 2025 00:315,33247,269,35015,056,0002,007,0002,375,680
7Feb 1, 2025 00:315,33536,471,66816,069,0001,004,0002,289,664
8Feb 1, 2025 00:315,34238,253,51716,088,0001,005,0002,367,488
9Feb 1, 2025 00:315,35139,855,14716,117,0001,007,0002,355,200