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 listMay 24, 2021 18:02Yuriy LyfenkoYuriy LyfenkoScore: 5,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:025,32533,494,37815,036,0002,004,0002,396,160
2May 24, 2021 18:025,33347,882,48515,057,0002,007,0002,392,064
3May 24, 2021 18:025,33442,984,83715,062,0002,008,0002,387,968
4May 24, 2021 18:025,34243,674,21116,088,0001,005,0002,392,064
5May 24, 2021 18:025,34346,970,71915,085,0002,011,0002,265,088
6May 24, 2021 18:025,35342,741,91316,123,0001,007,0002,265,088
7May 24, 2021 18:025,36447,720,79216,157,0001,009,0002,387,968
8May 24, 2021 18:025,37038,962,16916,175,0001,010,0002,379,776
9May 24, 2021 18:025,37347,448,30916,182,0001,011,0002,265,088
10May 24, 2021 18:025,51283,652,04517,639,06302,273,280
11May 24, 2021 18:025,51563,850,89617,648,00302,277,376
12May 24, 2021 18:025,59067,646,58417,886,93102,289,664