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 27, 2021 22:37gchebanovgchebanovScore: 5,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2021 22:375,51848,439,62217,656,00002,510,848
2Jun 27, 2021 22:375,53344,791,88017,707,00002,285,568
3Jun 27, 2021 22:375,54242,453,17916,691,0001,043,0002,506,752
4Jun 27, 2021 22:375,58145,265,23116,868,000992,0002,285,568
5Jun 27, 2021 22:375,58245,171,67115,878,0001,984,0002,285,568
6Jun 27, 2021 22:375,58344,643,53816,874,000992,0002,326,528
7Jun 27, 2021 22:375,58548,259,53315,887,0001,985,0002,506,752
8Jun 27, 2021 22:375,58943,977,58816,891,000993,0002,506,752
9Jun 27, 2021 22:375,60044,520,82015,928,0001,991,0002,510,848
10Jun 27, 2021 22:375,70885,258,36818,265,42102,256,896
11Jun 27, 2021 22:375,71891,781,43718,298,69802,248,704
12Jun 27, 2021 22:375,74096,048,57518,369,40602,265,088