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 17, 2021 21:28Yuriy LyfenkoYuriy LyfenkoScore: 5,480Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 21:285,4132,037,177,55417,322,00002,519,040
2May 17, 2021 21:285,438986,127,08017,402,00002,523,136
3May 17, 2021 21:285,4541,207,474,28016,427,0001,026,0002,260,992
4May 17, 2021 21:285,459349,041,37215,528,0001,941,0002,523,136
5May 17, 2021 21:285,464265,938,43516,515,000971,0002,519,040
6May 17, 2021 21:285,4781,135,902,78116,499,0001,031,0002,260,992
7May 17, 2021 21:285,4802,459,866,11816,505,0001,031,0002,265,088
8May 17, 2021 21:285,4852,600,263,31016,577,000975,0002,527,232
9May 17, 2021 21:285,4921,097,885,48316,542,0001,033,0002,265,088
10May 17, 2021 21:285,5931,261,212,21117,898,40702,281,472
11May 17, 2021 21:285,6292,986,523,51418,012,43602,277,376
12May 17, 2021 21:285,6431,710,640,83418,056,08102,285,568