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 2, 2024 09:17matsuoka-601matsuoka-601Score: 5,087Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 09:175,03738,550,24714,103,0002,014,0002,293,760
2Jun 2, 2024 09:175,04332,048,46015,129,0001,008,0002,281,472
3Jun 2, 2024 09:175,04941,123,46415,148,0001,009,0002,375,680
4Jun 2, 2024 09:175,05138,326,60914,142,0002,020,0002,293,760
5Jun 2, 2024 09:175,05641,076,85215,169,0001,011,0002,293,760
6Jun 2, 2024 09:175,06332,530,08714,177,0002,025,0002,387,968
7Jun 2, 2024 09:175,08732,940,37514,243,0002,034,0002,293,760
8Jun 2, 2024 09:175,09034,441,37316,288,00002,293,760
9Jun 2, 2024 09:175,09840,125,80714,275,0002,039,0002,293,760
10Jun 2, 2024 09:175,21096,962,12816,672,81602,183,168
11Jun 2, 2024 09:175,23293,213,42316,743,94102,301,952
12Jun 2, 2024 09:175,25661,998,45816,820,57802,301,952