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 listNov 9, 2024 22:31E SequeiraE SequeiraScore: 2,745,783Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 9, 2024 22:312,732,6788,769,071,8108,711,582,00032,987,0002,269,184
2Nov 9, 2024 22:312,736,2788,781,656,5138,716,107,00039,982,0002,265,088
3Nov 9, 2024 22:312,737,1108,791,752,3518,727,767,00030,984,0002,281,472
4Nov 9, 2024 22:312,737,3288,789,839,4408,728,462,00030,987,0002,281,472
5Nov 9, 2024 22:312,745,7838,811,919,4288,748,523,00037,984,0002,281,472
6Nov 9, 2024 22:312,763,2768,876,174,1738,812,499,00029,984,0002,281,472
7Nov 9, 2024 22:312,769,4458,900,032,9038,824,245,00037,979,0002,293,760
8Nov 9, 2024 22:312,776,5188,912,776,5908,850,873,00033,984,0002,269,184
9Nov 9, 2024 22:312,790,5878,965,598,1748,892,890,00036,987,0002,281,472