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 listJul 28, 2024 08:49BenBenScore: 4,889Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:494,87335,264,37714,554,0001,039,0002,265,088
2Jul 28, 2024 08:494,88131,564,18015,620,00002,265,088
3Jul 28, 2024 08:494,88239,137,33914,582,0001,041,0002,265,088
4Jul 28, 2024 08:494,88347,281,26115,624,00002,392,064
5Jul 28, 2024 08:494,88534,078,07114,590,0001,042,0002,383,872
6Jul 28, 2024 08:494,88638,462,49115,636,00002,265,088
7Jul 28, 2024 08:494,88942,213,91915,646,00002,269,184
8Jul 28, 2024 08:494,90132,908,34014,639,0001,045,0002,527,232
9Jul 28, 2024 08:494,91132,809,29014,668,0001,047,0002,396,160
10Jul 28, 2024 08:495,12762,099,20916,406,41702,297,856
11Jul 28, 2024 08:495,13481,538,69916,429,23902,285,568
12Jul 28, 2024 08:495,15388,102,74816,488,82102,293,760