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 7, 2024 17:43matsuoka-601matsuoka-601Score: 4,662Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 17:434,60340,772,29513,679,0001,052,0002,408,448
2Jun 7, 2024 17:434,64229,479,81613,864,000990,0002,285,568
3Jun 7, 2024 17:434,64532,435,32212,883,0001,982,0002,285,568
4Jun 7, 2024 17:434,64737,972,56013,878,000991,0002,285,568
5Jun 7, 2024 17:434,64834,663,66613,884,000991,0002,408,448
6Jun 7, 2024 17:434,65239,774,56514,885,00002,285,568
7Jun 7, 2024 17:434,66230,994,32813,923,000994,0002,285,568
8Jun 7, 2024 17:434,67030,679,07613,947,000996,0002,285,568
9Jun 7, 2024 17:434,69342,301,08413,017,0002,002,0002,285,568
10Jun 7, 2024 17:434,89679,841,10615,666,80602,174,976
11Jun 7, 2024 17:434,90294,902,76515,686,81702,289,664
12Jun 7, 2024 17:434,91289,197,57815,717,80002,179,072