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 11, 2022 17:52Eugene ZhydzetskiEugene ZhydzetskiScore: 14,163Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2022 17:5114,137121,681,50945,238,69502,244,608
2Aug 11, 2022 17:5214,14097,343,23345,248,74702,248,704
3Aug 11, 2022 17:5114,150109,163,31445,279,98702,240,512
4Aug 11, 2022 17:5214,152112,547,29745,286,60502,240,512
5Aug 11, 2022 17:5214,163100,733,21245,322,37702,240,512
6Aug 11, 2022 17:5214,17199,261,21045,347,76802,232,320
7Aug 11, 2022 17:5114,176121,580,11845,364,49702,240,512
8Aug 11, 2022 17:5214,181109,606,79545,377,97002,240,512
9Aug 11, 2022 17:5214,184112,571,77245,388,65802,224,128