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 listAug 11, 2022 14:29Bernard TeoBernard TeoScore: 5,474Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2022 15:315,457101,525,79517,462,61002,285,568
2Aug 11, 2022 15:315,46176,172,42317,476,60502,293,760
3Aug 11, 2022 14:365,46282,106,93317,479,17702,293,760
4Aug 11, 2022 14:295,46386,068,69617,481,98302,293,760
5Aug 11, 2022 14:425,47085,471,21017,502,41202,289,664
6Aug 11, 2022 14:425,47179,918,12317,507,48902,256,896
7Aug 11, 2022 15:315,47285,646,56417,509,03602,260,992
8Aug 11, 2022 14:365,47486,656,86117,516,60902,297,856
9Aug 11, 2022 14:295,47588,353,92617,518,69902,289,664
10Aug 11, 2022 14:425,47872,295,93617,530,74902,306,048
11Aug 11, 2022 14:365,48080,100,43917,536,77802,289,664
12Aug 11, 2022 14:365,48394,609,49117,546,02102,289,664
13Aug 11, 2022 14:295,48694,028,31217,554,67602,293,760
14Aug 11, 2022 14:365,48773,019,97817,559,79202,289,664
15Aug 11, 2022 14:365,49391,432,14317,576,99602,301,952