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 25, 2021 04:51Yuriy LyfenkoYuriy LyfenkoScore: 5,329Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 04:515,27037,378,04716,865,00002,392,064
2May 25, 2021 04:515,28137,707,26715,904,000994,0002,265,088
3May 25, 2021 04:515,29547,624,75314,950,0001,993,0002,265,088
4May 25, 2021 04:515,29545,906,59615,948,000996,0002,392,064
5May 25, 2021 04:515,30036,112,99614,964,0001,995,0002,265,088
6May 25, 2021 04:515,31647,899,92316,011,0001,000,0002,400,256
7May 25, 2021 04:515,32943,316,13716,049,0001,003,0002,265,088
8May 25, 2021 04:515,33043,052,72016,052,0001,003,0002,265,088
9May 25, 2021 04:515,34837,312,97315,100,0002,013,0002,265,088
10May 25, 2021 04:515,46757,617,23417,492,87102,269,184
11May 25, 2021 04:515,47746,269,13517,525,98202,269,184
12May 25, 2021 04:515,54387,944,25717,737,52802,269,184