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 listJan 2, 2023 22:45Hal FHal FScore: 5,601Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 22:455,58742,515,59116,886,000993,0002,289,664
2Jan 2, 2023 22:455,58946,744,43615,897,0001,987,0002,289,664
3Jan 2, 2023 22:455,58945,175,87715,899,0001,987,0002,273,280
4Jan 2, 2023 22:455,59043,700,29916,895,000993,0002,277,376
5Jan 2, 2023 22:455,59250,113,19516,899,000994,0002,273,280
6Jan 2, 2023 22:455,59333,285,77816,903,000994,0002,289,664
7Jan 2, 2023 22:455,60145,187,72215,932,0001,991,0002,289,664
8Jan 2, 2023 22:455,60846,998,27715,951,0001,993,0002,273,280
9Jan 2, 2023 22:455,62441,311,95715,999,0001,999,0002,265,088
10Jan 2, 2023 22:455,79575,690,18218,545,46202,293,760
11Jan 2, 2023 22:455,80680,951,55118,578,65502,297,856
12Jan 2, 2023 22:455,83297,598,30418,661,88702,293,760