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 listDec 30, 2022 20:08Hal FHal FScore: 5,831Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2022 20:085,81444,197,18017,573,0001,033,0002,277,376
2Dec 30, 2022 20:085,81638,015,37918,610,00002,269,184
3Dec 30, 2022 20:085,81945,363,29217,586,0001,034,0002,277,376
4Dec 30, 2022 20:085,81946,964,33718,621,00002,277,376
5Dec 30, 2022 20:085,82341,318,95517,597,0001,035,0002,375,680
6Dec 30, 2022 20:085,82935,641,11517,617,0001,036,0002,265,088
7Dec 30, 2022 20:085,83149,645,13417,624,0001,036,0002,281,472
8Dec 30, 2022 20:085,83949,817,59518,684,00002,273,280
9Dec 30, 2022 20:085,85151,246,47516,642,0002,080,0002,277,376
10Dec 30, 2022 20:086,078108,138,82619,450,37802,285,568
11Dec 30, 2022 20:086,08885,898,64819,481,40302,293,760
12Dec 30, 2022 20:086,11975,408,63719,580,55502,301,952