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 listAug 7, 2024 00:03zielajzielajScore: 4,820Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 00:034,76338,544,62313,208,0002,032,0002,289,664
2Aug 7, 2024 00:034,76836,531,46913,223,0002,034,0002,285,568
3Aug 7, 2024 00:034,78334,441,12313,264,0002,040,0002,285,568
4Aug 7, 2024 00:034,78431,403,61413,268,0002,041,0002,273,280
5Aug 7, 2024 00:034,79339,433,60615,336,00002,269,184
6Aug 7, 2024 00:034,80036,621,35114,337,0001,024,0002,289,664
7Aug 7, 2024 00:034,82040,524,48214,395,0001,028,0002,289,664
8Aug 7, 2024 00:034,82131,657,29314,399,0001,028,0002,269,184
9Aug 7, 2024 00:034,83934,891,13113,422,0002,064,0002,527,232
10Aug 7, 2024 00:034,99274,342,49015,975,89902,260,992
11Aug 7, 2024 00:035,01473,053,56316,045,83602,179,072
12Aug 7, 2024 00:035,01886,584,62216,057,75602,179,072