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 22, 2024 13:00Huy Duc LeHuy Duc LeScore: 4,999Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:004,96446,133,22014,892,000992,0002,293,760
2Feb 22, 2024 13:004,96843,298,27314,906,000993,0002,277,376
3Feb 22, 2024 13:004,97239,001,62013,921,0001,988,0002,293,760
4Feb 22, 2024 13:004,97738,036,98114,932,000995,0002,269,184
5Feb 22, 2024 13:004,98539,560,50513,959,0001,994,0002,523,136
6Feb 22, 2024 13:004,99141,700,71413,974,0001,996,0002,514,944
7Feb 22, 2024 13:004,99934,382,27013,998,0001,999,0002,514,944
8Feb 22, 2024 13:005,00432,240,00215,014,0001,000,0002,535,424
9Feb 22, 2024 13:005,01933,415,80415,058,0001,003,0002,285,568
10Feb 22, 2024 13:005,18573,853,41116,593,00502,301,952
11Feb 22, 2024 13:005,21876,856,04116,696,79502,310,144
12Feb 22, 2024 13:005,22378,478,04716,712,82702,179,072