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 listNov 1, 2021 11:24Ilya AniskovetsIlya AniskovetsScore: 5,543Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 11:245,49740,820,48616,555,0001,034,0002,285,568
2Nov 1, 2021 11:245,50345,824,00316,575,0001,035,0002,289,664
3Nov 1, 2021 11:245,51144,922,61416,597,0001,037,0002,289,664
4Nov 1, 2021 11:245,51743,837,21916,616,0001,038,0002,273,280
5Nov 1, 2021 11:245,53347,825,77016,663,0001,041,0002,523,136
6Nov 1, 2021 11:245,53343,579,74616,665,0001,041,0002,289,664
7Nov 1, 2021 11:245,54343,670,47116,694,0001,043,0002,273,280
8Nov 1, 2021 11:245,57644,997,83016,853,000991,0002,355,200
9Nov 1, 2021 11:245,58545,812,83216,879,000992,0002,371,584
10Nov 1, 2021 11:245,65281,528,01518,085,40702,301,952
11Nov 1, 2021 11:245,66856,943,64418,137,07502,297,856
12Nov 1, 2021 11:245,70183,717,14918,242,95602,301,952