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 27, 2021 16:46Yuriy LyfenkoYuriy LyfenkoScore: 5,086Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 16:465,02945,801,36815,087,0001,005,0002,265,088
2May 27, 2021 16:465,04536,363,16915,136,0001,009,0002,265,088
3May 27, 2021 16:465,05346,843,63315,161,0001,010,0002,400,256
4May 27, 2021 16:465,06533,132,72715,196,0001,013,0002,265,088
5May 27, 2021 16:465,06738,555,23214,188,0002,026,0002,265,088
6May 27, 2021 16:465,07637,053,52614,213,0002,030,0002,527,232
7May 27, 2021 16:465,08633,438,69415,259,0001,017,0002,265,088
8May 27, 2021 16:465,10439,670,83315,312,0001,020,0002,265,088
9May 27, 2021 16:465,12733,173,15816,407,00002,265,088
10May 27, 2021 16:465,23744,550,19016,758,43202,240,512
11May 27, 2021 16:465,28181,712,86216,898,88902,273,280
12May 27, 2021 16:465,29183,228,88816,932,39502,408,448