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 8, 2024 18:33AndreyTSAndreyTSScore: 5,517Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:335,47846,903,02816,500,0001,031,0002,531,328
2Jun 8, 2024 18:335,48240,495,01216,511,0001,031,0002,289,664
3Jun 8, 2024 18:335,48344,424,41716,515,0001,032,0002,273,280
4Jun 8, 2024 18:335,49343,471,50416,543,0001,033,0002,289,664
5Jun 8, 2024 18:335,50947,796,73716,593,0001,037,0002,265,088
6Jun 8, 2024 18:335,51348,827,21116,605,0001,037,0002,531,328
7Jun 8, 2024 18:335,51743,997,84316,617,0001,038,0002,273,280
8Jun 8, 2024 18:335,53344,260,00516,665,0001,041,0002,273,280
9Jun 8, 2024 18:335,54042,567,46616,687,0001,042,0002,269,184
10Jun 8, 2024 18:335,71979,967,33718,301,06502,293,760
11Jun 8, 2024 18:335,73885,044,20518,361,68902,297,856
12Jun 8, 2024 18:335,78779,944,28518,517,54702,297,856