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 24, 2021 18:47Yuriy LyfenkoYuriy LyfenkoScore: 5,282Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:475,24332,290,81714,804,0001,973,0002,510,848
2May 24, 2021 18:475,27142,717,11215,874,000992,0002,265,088
3May 24, 2021 18:475,27243,861,73214,885,0001,984,0002,523,136
4May 24, 2021 18:475,27331,923,89614,889,0001,985,0002,265,088
5May 24, 2021 18:475,27443,556,07315,886,000992,0002,392,064
6May 24, 2021 18:475,27843,375,24615,895,000993,0002,387,968
7May 24, 2021 18:475,28233,449,43314,915,0001,988,0002,392,064
8May 24, 2021 18:475,29842,263,68414,959,0001,994,0002,396,160
9May 24, 2021 18:475,29951,047,84215,960,000997,0002,527,232
10May 24, 2021 18:475,44356,994,60317,417,40302,273,280
11May 24, 2021 18:475,48755,271,92917,557,04002,277,376
12May 24, 2021 18:475,74777,703,55418,390,72802,273,280