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 listDec 22, 2021 04:35Yuriy LyfenkoYuriy LyfenkoScore: 5,708Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:355,643542,736,58615,933,0002,124,0002,338,816
2Dec 22, 2021 04:355,652547,561,83515,071,0003,014,0002,334,720
3Dec 22, 2021 04:355,656547,066,81518,099,00002,338,816
4Dec 22, 2021 04:355,668548,839,33817,071,0001,066,0002,457,600
5Dec 22, 2021 04:355,671543,984,57818,147,00002,334,720
6Dec 22, 2021 04:355,693568,594,97118,217,22502,256,896
7Dec 22, 2021 04:355,708576,763,88218,266,92902,293,760
8Dec 22, 2021 04:355,724550,615,51217,301,0001,017,0002,338,816
9Dec 22, 2021 04:355,727543,526,48517,363,000964,0002,334,720
10Dec 22, 2021 04:355,729546,782,91117,314,0001,018,0002,334,720
11Dec 22, 2021 04:355,731548,082,91417,321,0001,018,0002,334,720
12Dec 22, 2021 04:355,748583,536,61118,394,82702,297,856