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 listSep 24, 2024 13:57mgildermgilderScore: 5,617Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 24, 2024 13:575,58843,386,24016,889,000993,0002,375,680
2Sep 24, 2024 13:575,60648,876,74716,943,000996,0002,289,664
3Sep 24, 2024 13:575,61035,242,95115,958,0001,994,0002,289,664
4Sep 24, 2024 13:575,61050,614,02315,959,0001,994,0002,375,680
5Sep 24, 2024 13:575,61750,323,00316,976,000998,0002,289,664
6Sep 24, 2024 13:575,62948,017,65617,014,0001,000,0002,371,584
7Sep 24, 2024 13:575,63244,553,82516,019,0002,002,0002,289,664
8Sep 24, 2024 13:575,64444,243,27717,059,0001,003,0002,289,664
9Sep 24, 2024 13:575,65942,190,79216,098,0002,012,0002,367,488