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 26, 2023 01:03IhebIhebScore: 5,791Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 01:035,72042,910,65117,287,0001,016,0002,289,664
2Sep 26, 2023 01:035,72244,768,50016,275,0002,034,0002,289,664
3Sep 26, 2023 01:035,72741,097,19316,291,0002,036,0002,273,280
4Sep 26, 2023 01:035,75335,958,38517,386,0001,022,0002,531,328
5Sep 26, 2023 01:035,75335,788,23117,389,0001,022,0002,277,376
6Sep 26, 2023 01:035,76643,229,77818,451,00002,277,376
7Sep 26, 2023 01:035,79147,568,31317,502,0001,029,0002,289,664
8Sep 26, 2023 01:035,79241,142,86317,504,0001,029,0002,273,280
9Sep 26, 2023 01:035,80544,815,91118,576,00002,289,664
10Sep 26, 2023 01:035,87299,202,76518,790,18002,297,856
11Sep 26, 2023 01:035,87671,103,42718,802,32602,174,976
12Sep 26, 2023 01:035,92876,251,80718,968,31702,301,952