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 28, 2021 22:58Egor SergeevEgor SergeevScore: 5,153Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2021 22:585,11537,582,22216,368,00002,502,656
2Jun 28, 2021 22:585,11733,056,74116,373,00002,498,560
3Jun 28, 2021 22:585,13530,046,53616,432,00002,498,560
4Jun 28, 2021 22:585,13739,541,09016,438,00002,490,368
5Jun 28, 2021 22:585,14229,925,14316,454,00002,498,560
6Jun 28, 2021 22:585,14438,141,99816,460,00002,498,560
7Jun 28, 2021 22:585,15329,345,94116,491,00002,277,376
8Jun 28, 2021 22:585,15535,563,46816,496,00002,535,424
9Jun 28, 2021 22:585,17432,089,31816,557,00002,277,376
10Jun 28, 2021 22:585,39242,885,17817,253,10102,256,896
11Jun 28, 2021 22:585,40889,403,76117,306,82102,244,608
12Jun 28, 2021 22:585,42874,135,58417,369,63002,236,416