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 19:39Yuriy LyfenkoYuriy LyfenkoScore: 5,375Success
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 19:395,32924,510,439,71815,048,0002,006,0002,527,232
2May 17, 2021 19:395,33415,239,405,45717,068,00002,527,232
3May 17, 2021 19:395,34814,880,824,27415,100,0002,013,0002,523,136
4May 17, 2021 19:395,34917,600,921,05615,215,0001,901,0002,396,160
5May 17, 2021 19:395,35219,884,497,71116,120,0001,007,0002,527,232
6May 17, 2021 19:395,36214,829,076,09115,252,0001,906,0002,523,136
7May 17, 2021 19:395,37513,072,078,87816,246,000955,0002,527,232
8May 17, 2021 19:395,37927,508,990,88515,300,0001,912,0002,523,136
9May 17, 2021 19:395,3973,142,567,28314,392,0002,878,0002,265,088
10May 17, 2021 19:395,54111,930,508,24017,729,73102,277,376
11May 17, 2021 19:395,55610,845,316,39517,779,05902,277,376
12May 17, 2021 19:395,55922,210,872,91217,787,75902,273,280