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 21:20AndreyTSAndreyTSScore: 5,272Success
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 21:205,22936,179,58115,689,0001,045,0002,273,280
2Jun 8, 2024 21:205,25234,157,10815,817,000988,0002,273,280
3Jun 8, 2024 21:205,26740,823,84215,862,000991,0002,289,664
4Jun 8, 2024 21:205,26834,327,55615,866,000991,0002,273,280
5Jun 8, 2024 21:205,26843,663,19914,874,0001,983,0002,371,584
6Jun 8, 2024 21:205,26935,176,47914,877,0001,983,0002,273,280
7Jun 8, 2024 21:205,27242,227,72714,887,0001,984,0002,387,968
8Jun 8, 2024 21:205,27635,952,47714,896,0001,986,0002,289,664
9Jun 8, 2024 21:205,28143,175,69914,912,0001,988,0002,269,184
10Jun 8, 2024 21:205,45879,592,78417,464,04602,293,760
11Jun 8, 2024 21:205,50684,914,72817,618,89302,301,952
12Jun 8, 2024 21:205,54288,505,79017,734,83102,301,952