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 30, 2021 00:22Egor SergeevEgor SergeevScore: 5,171Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 00:225,13336,404,91316,427,00002,502,656
2May 30, 2021 00:225,14139,468,79616,452,00002,277,376
3May 30, 2021 00:225,14732,017,56216,470,00002,494,464
4May 30, 2021 00:225,16644,272,05416,530,00002,277,376
5May 30, 2021 00:225,16628,952,64116,531,00002,494,464
6May 30, 2021 00:225,17035,206,64116,545,00002,494,464
7May 30, 2021 00:225,17137,146,53416,548,00002,502,656
8May 30, 2021 00:225,18728,086,61216,599,00002,498,560
9May 30, 2021 00:225,20246,063,41216,647,00002,498,560
10May 30, 2021 00:225,39491,340,53817,260,54802,260,992
11May 30, 2021 00:225,40171,135,68817,282,66402,232,320
12May 30, 2021 00:225,41343,646,64617,322,23102,248,704