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 24, 2023 01:38Martin StensgårdMartin StensgårdScore: 5,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 24, 2023 01:385,42534,165,56016,338,0001,021,0002,289,664
2Jun 24, 2023 01:385,42632,814,57516,341,0001,021,0002,387,968
3Jun 24, 2023 01:385,42635,214,33416,343,0001,021,0002,392,064
4Jun 24, 2023 01:385,43035,466,55016,353,0001,022,0002,392,064
5Jun 24, 2023 01:385,43934,293,18416,383,0001,023,0002,396,160
6Jun 24, 2023 01:385,44346,416,72417,419,00002,506,752
7Jun 24, 2023 01:385,44841,066,59016,408,0001,025,0002,289,664
8Jun 24, 2023 01:385,45545,519,98917,457,00002,383,872
9Jun 24, 2023 01:385,46739,756,49316,465,0001,029,0002,289,664
10Jun 24, 2023 01:385,65582,617,45218,094,82502,248,704
11Jun 24, 2023 01:385,65587,706,99618,095,49802,256,896
12Jun 24, 2023 01:385,68370,072,30118,185,50902,260,992