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 28, 2021 15:25Yuriy LyfenkoYuriy LyfenkoScore: 5,114Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 15:255,05434,723,51814,153,0002,021,0002,265,088
2May 28, 2021 15:255,08441,840,32214,236,0002,033,0002,392,064
3May 28, 2021 15:255,08639,588,36515,258,0001,017,0002,265,088
4May 28, 2021 15:255,08831,687,30915,265,0001,017,0002,392,064
5May 28, 2021 15:255,10839,117,02016,346,00002,387,968
6May 28, 2021 15:255,11342,841,29815,338,0001,022,0002,265,088
7May 28, 2021 15:255,11442,499,12615,342,0001,022,0002,265,088
8May 28, 2021 15:255,11438,818,11315,344,0001,022,0002,387,968
9May 28, 2021 15:255,14736,359,42815,440,0001,029,0002,265,088
10May 28, 2021 15:255,27879,914,87116,888,83602,281,472
11May 28, 2021 15:255,30652,124,16916,979,50702,273,280
12May 28, 2021 15:255,30863,612,85216,985,12802,277,376