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:36AndreyTSAndreyTSScore: 5,531Success
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:365,50239,011,09717,605,00002,265,088
2Jun 8, 2024 18:365,50543,929,03917,615,00002,269,184
3Jun 8, 2024 18:365,50646,057,98616,583,0001,036,0002,289,664
4Jun 8, 2024 18:365,51044,350,62716,595,0001,037,0002,289,664
5Jun 8, 2024 18:365,51644,307,00416,613,0001,038,0002,289,664
6Jun 8, 2024 18:365,51748,865,25016,617,0001,038,0002,273,280
7Jun 8, 2024 18:365,53147,106,66516,659,0001,041,0002,289,664
8Jun 8, 2024 18:365,53346,674,86716,665,0001,041,0002,523,136
9Jun 8, 2024 18:365,57944,140,28815,871,0001,983,0002,265,088
10Jun 8, 2024 18:365,750101,718,31018,399,26802,297,856
11Jun 8, 2024 18:365,79554,795,97718,545,42702,297,856
12Jun 8, 2024 18:365,80693,835,28218,579,02302,174,976