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 9, 2024 21:52джулисджулисScore: 5,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 21:525,23146,193,66915,693,0001,046,0002,375,680
2Jun 9, 2024 21:525,26144,323,11614,854,0001,980,0002,375,680
3Jun 9, 2024 21:525,27443,874,33114,892,0001,985,0002,371,584
4Jun 9, 2024 21:525,27745,356,62814,900,0001,986,0002,293,760
5Jun 9, 2024 21:525,27839,437,03914,902,0001,986,0002,293,760
6Jun 9, 2024 21:525,28140,899,15016,900,00002,293,760
7Jun 9, 2024 21:525,28446,780,45015,916,000994,0002,375,680
8Jun 9, 2024 21:525,29134,246,78415,935,000995,0002,293,760
9Jun 9, 2024 21:525,30646,589,51714,982,0001,997,0002,293,760
10Jun 9, 2024 21:525,49767,428,31217,589,06502,252,800
11Jun 9, 2024 21:525,55073,105,93117,760,94702,240,512
12Jun 9, 2024 21:525,65296,611,99518,086,88602,256,896