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 listJun 2, 2021 20:29Yuriy LyfenkoYuriy LyfenkoScore: 6,019Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 20:295,964543,837,95517,077,0002,009,0002,330,624
2Jun 2, 2021 20:295,974543,642,21217,105,0002,012,0002,330,624
3Jun 2, 2021 20:295,975543,651,53717,108,0002,012,0002,330,624
4Jun 2, 2021 20:295,980542,962,33317,121,0002,014,0002,330,624
5Jun 2, 2021 20:295,994539,972,95516,153,0003,028,0002,334,720
6Jun 2, 2021 20:296,011544,171,09117,211,0002,024,0002,334,720
7Jun 2, 2021 20:296,019544,854,79115,206,0004,055,0002,334,720
8Jun 2, 2021 20:296,023539,524,30218,261,0001,014,0002,330,624
9Jun 2, 2021 20:296,048547,785,28916,297,0003,055,0002,334,720
10Jun 2, 2021 20:296,069577,960,93319,419,87702,224,128
11Jun 2, 2021 20:296,100581,333,12519,519,15402,220,032
12Jun 2, 2021 20:296,108589,100,66519,544,35502,215,936