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:56Egor SergeevEgor SergeevScore: 5,161Success
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:565,14033,655,16616,448,00002,502,656
2Jun 28, 2021 22:565,14535,592,95016,464,00002,277,376
3Jun 28, 2021 22:565,14633,792,14116,467,00002,277,376
4Jun 28, 2021 22:565,14932,189,50016,476,00002,494,464
5Jun 28, 2021 22:565,15229,161,07816,485,00002,494,464
6Jun 28, 2021 22:565,15331,117,85016,489,00002,502,656
7Jun 28, 2021 22:565,16143,414,70315,482,0001,032,0002,277,376
8Jun 28, 2021 22:565,16736,119,49916,535,00002,277,376
9Jun 28, 2021 22:565,17328,448,20616,555,00002,535,424
10Jun 28, 2021 22:565,39855,177,21617,272,38902,260,992
11Jun 28, 2021 22:565,40277,216,39717,286,28802,236,416
12Jun 28, 2021 22:565,40647,113,83217,300,39402,236,416