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 listJun 13, 2024 14:07джулисджулисScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 14:075,53349,273,60717,705,00002,371,584
2Jun 13, 2024 14:075,57535,424,10416,850,000991,0002,375,680
3Jun 13, 2024 14:075,57841,163,07116,858,000991,0002,293,760
4Jun 13, 2024 14:075,58048,550,76517,856,00002,375,680
5Jun 13, 2024 14:075,58248,238,59715,879,0001,984,0002,293,760
6Jun 13, 2024 14:075,58344,279,26216,873,000992,0002,293,760
7Jun 13, 2024 14:075,58845,543,89415,894,0001,986,0002,293,760
8Jun 13, 2024 14:075,58837,454,48517,882,00002,293,760
9Jun 13, 2024 14:075,58942,759,19315,899,0001,987,0002,363,392
10Jun 13, 2024 14:075,80073,939,79218,558,80502,240,512
11Jun 13, 2024 14:075,80195,397,74418,562,64002,248,704
12Jun 13, 2024 14:075,82568,311,67518,639,45902,240,512