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:55Yuriy LyfenkoYuriy LyfenkoScore: 5,455Success
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:555,4171,869,612,48715,295,0002,039,0002,265,088
2May 17, 2021 19:555,4292,091,384,00116,352,0001,022,0002,273,280
3May 17, 2021 19:555,4301,236,621,86516,354,0001,022,0002,265,088
4May 17, 2021 19:555,4332,672,079,46117,386,00002,527,232
5May 17, 2021 19:555,4411,391,634,95815,478,0001,934,0002,260,992
6May 17, 2021 19:555,4472,159,239,44815,493,0001,936,0002,265,088
7May 17, 2021 19:555,4552,332,423,71316,430,0001,026,0002,396,160
8May 17, 2021 19:555,4692,986,583,65915,557,0001,944,0002,265,088
9May 17, 2021 19:555,475236,640,20317,519,00002,269,184
10May 17, 2021 19:555,5612,827,918,61117,795,12902,281,472
11May 17, 2021 19:555,5761,839,565,00917,844,38202,277,376
12May 17, 2021 19:555,5922,957,566,40417,892,86102,277,376