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 21, 2021 17:11Yuriy LyfenkoYuriy LyfenkoScore: 5,667Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2021 17:115,6321,045,488,95417,020,0001,001,0002,334,720
2Aug 21, 2021 17:115,6511,046,110,16915,955,0002,127,0002,330,624
3Aug 21, 2021 17:115,6551,047,767,47917,032,0001,064,0002,334,720
4Aug 21, 2021 17:115,6571,072,470,45318,102,93802,256,896
5Aug 21, 2021 17:115,6621,042,848,06117,052,0001,065,0002,334,720
6Aug 21, 2021 17:115,6651,047,053,02517,062,0001,066,0002,334,720
7Aug 21, 2021 17:115,6671,043,144,64916,119,0002,014,0002,334,720
8Aug 21, 2021 17:115,6851,045,302,97417,123,0001,070,0002,334,720
9Aug 21, 2021 17:115,7191,085,723,60418,299,58302,256,896
10Aug 21, 2021 17:115,7241,071,463,50218,317,60302,285,568
11Aug 21, 2021 17:115,7421,040,647,01716,334,0002,041,0002,334,720
12Aug 21, 2021 17:115,7581,039,985,14216,378,0002,047,0002,334,720