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:02IhebIhebScore: 5,781Success
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:025,71843,124,78416,266,0002,033,0002,273,280
2Sep 26, 2023 01:025,74344,988,49517,356,0001,020,0002,289,664
3Sep 26, 2023 01:025,74738,555,81416,347,0002,043,0002,289,664
4Sep 26, 2023 01:025,75345,470,82117,387,0001,022,0002,273,280
5Sep 26, 2023 01:025,75733,057,07518,422,00002,289,664
6Sep 26, 2023 01:025,76943,843,88017,435,0001,025,0002,289,664
7Sep 26, 2023 01:025,78140,323,14217,473,0001,027,0002,277,376
8Sep 26, 2023 01:025,78341,111,62617,477,0001,028,0002,289,664
9Sep 26, 2023 01:025,82342,208,17917,600,0001,035,0002,289,664
10Sep 26, 2023 01:025,88291,229,33918,822,71402,297,856
11Sep 26, 2023 01:025,958101,181,45719,065,75702,293,760
12Sep 26, 2023 01:025,99776,888,77019,190,80402,297,856