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 listSep 26, 2023 00:50IhebIhebScore: 5,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 00:505,73544,479,16116,312,0002,039,0002,289,664
2Sep 26, 2023 00:505,74543,468,32417,362,0001,021,0002,269,184
3Sep 26, 2023 00:505,74935,533,14017,375,0001,022,0002,277,376
4Sep 26, 2023 00:505,75342,612,94217,388,0001,022,0002,531,328
5Sep 26, 2023 00:505,76240,797,79916,390,0002,048,0002,269,184
6Sep 26, 2023 00:505,76940,893,92017,435,0001,025,0002,269,184
7Sep 26, 2023 00:505,78039,897,39617,470,0001,027,0002,289,664
8Sep 26, 2023 00:505,79340,739,32717,508,0001,029,0002,289,664
9Sep 26, 2023 00:505,80640,936,33617,546,0001,032,0002,281,472
10Sep 26, 2023 00:505,88980,889,87118,844,21202,256,896
11Sep 26, 2023 00:505,94374,951,33719,018,74502,301,952
12Sep 26, 2023 00:506,003122,449,42319,208,34302,297,856