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 listApr 10, 2024 01:05Steve BronderSteve BronderScore: 5,789Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 01:055,70336,100,61216,222,0002,027,0002,289,664
2Apr 10, 2024 01:055,72541,005,50917,303,0001,017,0002,289,664
3Apr 10, 2024 01:055,73340,810,83917,328,0001,019,0002,289,664
4Apr 10, 2024 01:055,74048,423,34517,348,0001,020,0002,289,664
5Apr 10, 2024 01:055,74144,090,39117,352,0001,020,0002,289,664
6Apr 10, 2024 01:055,78045,158,70017,468,0001,027,0002,289,664
7Apr 10, 2024 01:055,78942,078,06817,497,0001,029,0002,289,664
8Apr 10, 2024 01:055,80345,687,57718,568,00002,289,664
9Apr 10, 2024 01:055,82747,243,93317,610,0001,035,0002,273,280
10Apr 10, 2024 01:056,00988,514,79919,228,08602,293,760
11Apr 10, 2024 01:056,14593,142,03919,664,96402,297,856
12Apr 10, 2024 01:056,15686,126,99119,698,84002,306,048