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 17, 2024 17:59Joad NacerJoad NacerScore: 4,857Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 17:594,84337,052,05914,465,0001,033,0002,289,664
2Apr 17, 2024 17:594,84533,589,71514,471,0001,033,0002,269,184
3Apr 17, 2024 17:594,84931,687,80214,483,0001,034,0002,265,088
4Apr 17, 2024 17:594,84940,083,99714,484,0001,034,0002,289,664
5Apr 17, 2024 17:594,85032,339,66614,486,0001,034,0002,285,568
6Apr 17, 2024 17:594,85638,266,20615,540,00002,289,664
7Apr 17, 2024 17:594,85732,414,05214,505,0001,036,0002,289,664
8Apr 17, 2024 17:594,87033,223,63414,545,0001,038,0002,289,664
9Apr 17, 2024 17:594,88231,577,68514,581,0001,041,0002,289,664
10Apr 17, 2024 17:595,06982,332,91616,220,35602,174,976
11Apr 17, 2024 17:595,10779,290,54316,342,05902,174,976
12Apr 17, 2024 17:595,13588,374,99516,430,95102,179,072