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 14:08AndreyTSAndreyTSScore: 5,292Success
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 14:085,26844,132,36315,865,000991,0002,289,664
2Jun 9, 2024 14:085,26933,515,62415,870,000991,0002,289,664
3Jun 9, 2024 14:085,27543,728,39414,895,0001,986,0002,289,664
4Jun 9, 2024 14:085,27538,373,43214,895,0001,986,0002,289,664
5Jun 9, 2024 14:085,27934,476,32215,837,0001,055,0002,269,184
6Jun 9, 2024 14:085,28833,311,99914,931,0001,990,0002,289,664
7Jun 9, 2024 14:085,29244,551,24214,943,0001,992,0002,273,280
8Jun 9, 2024 14:085,29641,840,85414,953,0001,993,0002,289,664
9Jun 9, 2024 14:085,31137,374,24914,995,0001,999,0002,523,136
10Jun 9, 2024 14:085,49484,868,95817,582,33702,183,168
11Jun 9, 2024 14:085,50694,461,30017,617,83802,289,664
12Jun 9, 2024 14:085,52586,335,92417,678,46502,179,072