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 listMay 15, 2023 21:03AmirAmirScore: 5,738Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 21:035,68345,021,57317,174,0001,010,0002,269,184
2May 15, 2023 21:035,70835,659,75216,235,0002,029,0002,289,664
3May 15, 2023 21:035,71540,342,06316,256,0002,032,0002,273,280
4May 15, 2023 21:035,72342,310,60616,278,0002,034,0002,289,664
5May 15, 2023 21:035,72748,219,35316,291,0002,036,0002,289,664
6May 15, 2023 21:035,73041,847,99916,300,0002,037,0002,289,664
7May 15, 2023 21:035,73847,160,33116,321,0002,040,0002,265,088
8May 15, 2023 21:035,74243,150,07216,334,0002,041,0002,289,664
9May 15, 2023 21:035,74943,446,23916,353,0002,044,0002,289,664
10May 15, 2023 21:035,85476,622,88718,734,00702,285,568
11May 15, 2023 21:035,87693,879,21718,803,89602,293,760
12May 15, 2023 21:035,901110,439,94918,882,87102,301,952