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 22:34Mikhail DektyarevMikhail DektyarevScore: 4,966Success
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 22:344,90540,319,73314,650,0001,046,0002,281,472
2May 25, 2021 22:344,90732,602,26814,655,0001,046,0002,408,448
3May 25, 2021 22:344,91637,293,93815,730,00002,281,472
4May 25, 2021 22:344,95838,081,33914,876,000991,0002,281,472
5May 25, 2021 22:344,95843,108,57413,884,0001,983,0002,404,352
6May 25, 2021 22:344,96232,978,08814,885,000992,0002,392,064
7May 25, 2021 22:344,96649,132,14713,906,0001,986,0002,281,472
8May 25, 2021 22:344,97041,808,19315,903,00002,404,352
9May 25, 2021 22:344,97143,508,46814,913,000994,0002,510,848
10May 25, 2021 22:345,06952,238,16516,219,54902,297,856
11May 25, 2021 22:345,11091,900,38116,352,39602,289,664
12May 25, 2021 22:345,50395,275,04517,608,17302,281,472