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 18, 2021 13:44Yuriy LyfenkoYuriy LyfenkoScore: 5,435Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:445,4141,546,183,78015,400,0001,925,0002,523,136
2May 18, 2021 13:445,4182,177,094,38415,299,0002,039,0002,527,232
3May 18, 2021 13:445,4212,998,888,86016,383,000963,0002,265,088
4May 18, 2021 13:445,4272,522,538,80213,507,0003,859,0002,269,184
5May 18, 2021 13:445,4332,399,558,23015,453,0001,931,0002,396,160
6May 18, 2021 13:445,4342,709,113,52516,424,000966,0002,527,232
7May 18, 2021 13:445,4351,422,816,71914,494,0002,898,0002,265,088
8May 18, 2021 13:445,4522,065,896,40117,445,00002,265,088
9May 18, 2021 13:445,4711,896,152,64615,561,0001,945,0002,527,232
10May 18, 2021 13:445,5652,168,309,79217,809,05102,273,280
11May 18, 2021 13:445,5812,414,282,89917,859,03402,277,376
12May 18, 2021 13:445,5961,608,424,59717,906,61702,281,472