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 listMay 25, 2021 15:42Yuriy LyfenkoYuriy LyfenkoScore: 5,102Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:425,03940,136,74114,111,0002,015,0002,387,968
2May 25, 2021 15:425,07145,212,52515,212,0001,014,0002,396,160
3May 25, 2021 15:425,07339,712,33814,203,0002,029,0002,265,088
4May 25, 2021 15:425,07536,802,05315,225,0001,015,0002,396,160
5May 25, 2021 15:425,08633,774,18215,257,0001,017,0002,265,088
6May 25, 2021 15:425,09043,766,86915,270,0001,018,0002,387,968
7May 25, 2021 15:425,10233,557,91715,306,0001,020,0002,498,560
8May 25, 2021 15:425,11239,143,28016,357,00002,396,160
9May 25, 2021 15:425,11437,539,87714,320,0002,045,0002,527,232
10May 25, 2021 15:425,24183,721,13516,769,88002,285,568
11May 25, 2021 15:425,26248,177,59316,838,87802,285,568
12May 25, 2021 15:425,28692,054,32516,916,67902,273,280