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 15:40Yuriy LyfenkoYuriy LyfenkoScore: 5,123Success
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 15:405,07450,581,12014,209,0002,029,0002,265,088
2May 25, 2021 15:405,08333,349,04714,232,0002,033,0002,523,136
3May 25, 2021 15:405,08640,148,83914,241,0002,034,0002,392,064
4May 25, 2021 15:405,08635,615,89915,259,0001,017,0002,387,968
5May 25, 2021 15:405,08831,904,21014,248,0002,035,0002,387,968
6May 25, 2021 15:405,10233,953,14214,286,0002,040,0002,269,184
7May 25, 2021 15:405,12338,952,06316,394,00002,265,088
8May 25, 2021 15:405,12538,235,49815,375,0001,025,0002,486,272
9May 25, 2021 15:405,12834,533,86216,409,00002,396,160
10May 25, 2021 15:405,28656,246,06816,914,56102,273,280
11May 25, 2021 15:405,30875,424,86816,985,23202,285,568
12May 25, 2021 15:405,33790,970,38117,079,75402,285,568