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 listMay 14, 2021 03:04Dmitry DolgopolovDmitry DolgopolovScore: 6,108Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 03:046,05444,059,85017,333,0002,039,0002,293,760
2May 14, 2021 03:046,06640,744,53618,390,0001,021,0002,506,752
3May 14, 2021 03:046,06743,614,18616,349,0003,065,0002,506,752
4May 14, 2021 03:046,07339,236,73517,388,0002,045,0002,363,392
5May 14, 2021 03:046,08041,036,33016,385,0003,072,0002,506,752
6May 14, 2021 03:046,10742,769,71616,456,0003,085,0002,506,752
7May 14, 2021 03:046,10835,103,37217,489,0002,057,0002,293,760
8May 14, 2021 03:046,11643,387,35916,482,0003,090,0002,351,104
9May 14, 2021 03:046,13652,282,39916,536,0003,100,0002,506,752
10May 14, 2021 03:046,19299,516,27419,813,82402,179,072
11May 14, 2021 03:046,21389,322,60419,881,53102,297,856
12May 14, 2021 03:046,30491,970,27820,173,68902,293,760