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 26, 2021 19:40gchebanovgchebanovScore: 5,894Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 26, 2021 19:405,83534,195,98915,561,0003,112,0002,490,368
2Jun 26, 2021 19:405,84649,420,67917,669,0001,039,0002,424,832
3Jun 26, 2021 19:405,85145,670,95516,643,0002,080,0002,371,584
4Jun 26, 2021 19:405,85545,188,92716,654,0002,081,0002,424,832
5Jun 26, 2021 19:405,89149,649,21616,867,0001,984,0002,371,584
6Jun 26, 2021 19:405,89351,078,96216,873,0001,985,0002,478,080
7Jun 26, 2021 19:405,89444,791,41215,884,0002,978,0002,314,240
8Jun 26, 2021 19:405,89735,851,80215,892,0002,979,0002,314,240
9Jun 26, 2021 19:405,90745,027,57517,907,000994,0002,420,736
10Jun 26, 2021 19:406,03772,889,38519,318,88302,215,936
11Jun 26, 2021 19:406,05179,145,00619,363,87402,207,744
12Jun 26, 2021 19:406,06285,469,16219,399,70002,207,744