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 23, 2021 17:55Yuriy LyfenkoYuriy LyfenkoScore: 5,153Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 17:555,08840,843,01514,246,0002,035,0002,392,064
2May 23, 2021 17:555,09440,827,98415,284,0001,018,0002,265,088
3May 23, 2021 17:555,11137,025,88316,356,00002,265,088
4May 23, 2021 17:555,11732,964,00514,328,0002,046,0002,387,968
5May 23, 2021 17:555,12338,714,46216,395,00002,265,088
6May 23, 2021 17:555,13136,682,66616,419,00002,527,232
7May 23, 2021 17:555,15339,459,23716,489,00002,392,064
8May 23, 2021 17:555,15543,166,29116,495,00002,392,064
9May 23, 2021 17:555,15936,748,79215,478,0001,031,0002,387,968
10May 23, 2021 17:555,30776,807,84316,983,73002,269,184
11May 23, 2021 17:555,35984,504,81917,147,85002,269,184
12May 23, 2021 17:555,40878,246,16417,304,98702,281,472