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 listAug 20, 2022 13:26Eugene ZhydzetskiEugene ZhydzetskiScore: 5,894Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 13:265,83644,627,09118,674,00002,334,720
2Aug 20, 2022 13:265,84149,352,60818,692,00002,535,424
3Aug 20, 2022 13:265,84339,463,98718,697,00002,334,720
4Aug 20, 2022 13:265,84342,502,92618,698,00002,334,720
5Aug 20, 2022 13:265,85337,906,43517,688,0001,040,0002,535,424
6Aug 20, 2022 13:265,89188,470,36318,850,28402,236,416
7Aug 20, 2022 13:265,89441,141,93416,876,0001,985,0002,531,328
8Aug 20, 2022 13:265,89745,147,51716,884,0001,986,0002,334,720
9Aug 20, 2022 13:265,89850,698,57017,881,000993,0002,334,720
10Aug 20, 2022 13:265,89950,305,96217,885,000993,0002,334,720
11Aug 20, 2022 13:265,93565,268,47218,991,20202,240,512
12Aug 20, 2022 13:266,06294,381,83019,398,39502,236,416