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 listFeb 22, 2024 12:53Huy Duc LeHuy Duc LeScore: 5,112Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:535,05534,336,96614,155,0002,022,0002,293,760
2Feb 22, 2024 12:535,05838,744,29015,175,0001,011,0002,293,760
3Feb 22, 2024 12:535,08333,628,92814,231,0002,033,0002,293,760
4Feb 22, 2024 12:535,09336,534,45814,260,0002,037,0002,293,760
5Feb 22, 2024 12:535,09540,489,24714,266,0002,038,0002,514,944
6Feb 22, 2024 12:535,10342,703,03014,287,0002,041,0002,269,184
7Feb 22, 2024 12:535,11237,083,50414,313,0002,044,0002,293,760
8Feb 22, 2024 12:535,11738,499,74414,327,0002,046,0002,519,040
9Feb 22, 2024 12:535,13936,447,95714,390,0002,055,0002,293,760
10Feb 22, 2024 12:535,30198,969,85616,962,41202,301,952
11Feb 22, 2024 12:535,32583,948,42517,039,50502,289,664
12Feb 22, 2024 12:535,32678,655,44017,044,21102,301,952