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 13:55Yuriy LyfenkoYuriy LyfenkoScore: 5,549Success
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 13:555,5182,820,145,05416,621,0001,038,0002,265,088
2May 17, 2021 13:555,527895,091,77217,686,00002,260,992
3May 17, 2021 13:555,5334,067,104,94916,723,000983,0002,260,992
4May 17, 2021 13:555,5383,021,784,10416,738,000984,0002,265,088
5May 17, 2021 13:555,5443,685,719,74015,769,0001,971,0002,265,088
6May 17, 2021 13:555,5481,984,174,74215,782,0001,972,0002,527,232
7May 17, 2021 13:555,5491,587,624,59817,756,00002,269,184
8May 17, 2021 13:555,5612,991,653,99017,796,00002,527,232
9May 17, 2021 13:555,5762,083,717,55916,852,000991,0002,269,184
10May 17, 2021 13:555,7051,412,964,38618,254,73402,281,472
11May 17, 2021 13:555,7114,918,957,67718,276,19202,281,472
12May 17, 2021 13:555,7381,272,813,92618,360,16302,281,472