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 19, 2023 21:38Ulyanov AlekseyUlyanov AlekseyScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:385,53848,552,64216,679,0001,042,0002,289,664
2Jun 19, 2023 21:385,54057,293,05816,687,0001,042,0002,289,664
3Jun 19, 2023 21:385,54342,773,72016,696,0001,043,0002,289,664
4Jun 19, 2023 21:385,54443,179,02116,699,0001,043,0002,289,664
5Jun 19, 2023 21:385,57950,236,46216,861,000991,0002,277,376
6Jun 19, 2023 21:385,58145,039,45015,876,0001,984,0002,289,664
7Jun 19, 2023 21:385,58250,569,34016,869,000992,0002,289,664
8Jun 19, 2023 21:385,58547,580,76516,879,000992,0002,289,664
9Jun 19, 2023 21:385,58938,003,70815,897,0001,987,0002,265,088
10Jun 19, 2023 21:385,68181,454,97518,178,08802,297,856
11Jun 19, 2023 21:385,70383,046,22418,249,93802,301,952
12Jun 19, 2023 21:385,72256,969,05618,309,79502,301,952