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:38mgildermgilderScore: 5,342Success
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:385,30933,798,79014,991,0001,998,0002,363,392
2Feb 1, 2025 00:385,31833,859,81116,018,0001,001,0002,367,488
3Feb 1, 2025 00:385,32247,288,66115,026,0002,003,0002,367,488
4Feb 1, 2025 00:385,33444,553,35516,066,0001,004,0002,375,680
5Feb 1, 2025 00:385,34235,615,77816,089,0001,005,0002,363,392
6Feb 1, 2025 00:385,34240,022,75216,089,0001,005,0002,289,664
7Feb 1, 2025 00:385,34234,464,95316,090,0001,005,0002,289,664
8Feb 1, 2025 00:385,34738,329,37317,110,00002,363,392
9Feb 1, 2025 00:385,34739,926,66715,098,0002,013,0002,289,664