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 listJul 20, 2024 11:19Micah SwitzerMicah SwitzerScore: 2,515,396Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 11:192,509,8348,110,257,2838,031,469,82402,256,896
2Jul 20, 2024 11:192,515,3968,111,111,4878,049,266,87302,244,608
3Jul 20, 2024 11:192,515,8338,110,306,6128,050,666,91302,252,800