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 listSep 29, 2021 14:31Anton KrylovAnton KrylovScore: 5,993Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 14:315,93644,400,38716,997,0001,999,0002,306,048
2Sep 29, 2021 14:315,94636,782,58118,026,0001,001,0002,334,720
3Sep 29, 2021 14:315,95045,089,12018,038,0001,002,0002,334,720
4Sep 29, 2021 14:315,96244,781,20618,073,0001,004,0002,334,720
5Sep 29, 2021 14:315,96740,205,96417,084,0002,009,0002,301,952
6Sep 29, 2021 14:315,96848,513,46618,093,0001,005,0002,310,144
7Sep 29, 2021 14:315,99372,372,83019,177,79802,277,376
8Sep 29, 2021 14:315,99340,508,35618,168,0001,009,0002,314,240
9Sep 29, 2021 14:316,00143,316,97418,192,0001,010,0002,310,144
10Sep 29, 2021 14:316,00145,258,28117,181,0002,021,0002,306,048
11Sep 29, 2021 14:316,050100,174,90519,358,79702,285,568
12Sep 29, 2021 14:316,13999,311,25619,643,36702,269,184