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 14, 2021 21:54Yuriy LyfenkoYuriy LyfenkoScore: 5,462Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:545,43238,127,27616,361,0001,022,0002,387,968
2May 14, 2021 21:545,43633,774,60715,350,0002,046,0002,387,968
3May 14, 2021 21:545,45239,916,90116,421,0001,026,0002,396,160
4May 14, 2021 21:545,45344,344,97117,451,00002,400,256
5May 14, 2021 21:545,45740,930,78517,463,00002,396,160
6May 14, 2021 21:545,45941,288,11915,413,0002,055,0002,260,992
7May 14, 2021 21:545,46233,080,57016,451,0001,028,0002,523,136
8May 14, 2021 21:545,46734,329,77217,493,00002,523,136
9May 14, 2021 21:545,47033,940,89016,476,0001,029,0002,260,992
10May 14, 2021 21:545,67972,887,95218,173,84902,265,088
11May 14, 2021 21:545,68163,195,46218,179,99002,277,376
12May 14, 2021 21:545,70357,823,41918,250,00002,277,376