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 03:03Steve BronderSteve BronderScore: 5,706Success
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 03:035,66242,339,62918,118,00002,293,760
2Apr 10, 2024 03:035,68043,113,98316,157,0002,019,0002,285,568
3Apr 10, 2024 03:035,68040,062,45017,168,0001,009,0002,293,760
4Apr 10, 2024 03:035,68540,677,41217,181,0001,010,0002,277,376
5Apr 10, 2024 03:035,69739,505,97916,206,0002,025,0002,412,544
6Apr 10, 2024 03:035,70539,114,94716,227,0002,028,0002,293,760
7Apr 10, 2024 03:035,70639,886,95116,230,0002,028,0002,293,760
8Apr 10, 2024 03:035,71739,835,09916,262,0002,032,0002,281,472
9Apr 10, 2024 03:035,75439,153,07916,367,0002,045,0002,293,760
10Apr 10, 2024 03:035,82595,312,88018,639,08502,179,072
11Apr 10, 2024 03:035,83994,161,91818,683,36102,301,952
12Apr 10, 2024 03:035,88389,914,69918,826,96402,183,168