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 16, 2021 18:17Yuriy LyfenkoYuriy LyfenkoScore: 5,426Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:175,3933,016,731,00316,244,0001,015,0002,523,136
2May 16, 2021 18:175,4071,570,318,36516,341,000961,0002,523,136
3May 16, 2021 18:175,4111,744,748,33516,353,000961,0002,265,088
4May 16, 2021 18:175,4131,886,691,51115,396,0001,924,0002,392,064
5May 16, 2021 18:175,423952,798,57717,354,00002,260,992
6May 16, 2021 18:175,4262,891,247,81715,434,0001,929,0002,523,136
7May 16, 2021 18:175,426128,926,40216,342,0001,021,0002,265,088
8May 16, 2021 18:175,4292,539,582,89216,409,000965,0002,265,088
9May 16, 2021 18:175,430428,132,04714,480,0002,896,0002,260,992
10May 16, 2021 18:175,6172,635,458,11917,975,62302,285,568
11May 16, 2021 18:175,633202,523,64918,024,93902,281,472
12May 16, 2021 18:175,6572,293,815,34718,101,08102,285,568