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 20:37Yuriy LyfenkoYuriy LyfenkoScore: 5,118Success
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 20:375,02342,545,59815,070,0001,004,0002,506,752
2May 23, 2021 20:375,06842,506,07715,203,0001,013,0002,265,088
3May 23, 2021 20:375,06839,342,98815,205,0001,013,0002,265,088
4May 23, 2021 20:375,06835,843,82814,192,0002,027,0002,265,088
5May 23, 2021 20:375,07033,028,99514,196,0002,028,0002,265,088
6May 23, 2021 20:375,09942,370,42415,299,0001,019,0002,265,088
7May 23, 2021 20:375,11848,524,82916,379,00002,265,088
8May 23, 2021 20:375,12041,820,39716,383,00002,265,088
9May 23, 2021 20:375,15238,595,90615,457,0001,030,0002,387,968
10May 23, 2021 20:375,28589,194,64716,912,52902,281,472
11May 23, 2021 20:375,31893,028,99217,017,12702,273,280
12May 23, 2021 20:375,34379,955,40717,096,72602,277,376