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 listJan 2, 2023 23:00Hal FHal FScore: 4,895Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 23:004,86534,628,71814,530,0001,037,0002,281,472
2Jan 2, 2023 23:004,87042,156,86514,546,0001,039,0002,289,664
3Jan 2, 2023 23:004,87433,427,36215,598,00002,281,472
4Jan 2, 2023 23:004,87848,704,67214,570,0001,040,0002,281,472
5Jan 2, 2023 23:004,88543,515,78214,589,0001,042,0002,269,184
6Jan 2, 2023 23:004,88639,749,38114,594,0001,042,0002,273,280
7Jan 2, 2023 23:004,89543,936,88614,621,0001,044,0002,289,664
8Jan 2, 2023 23:004,89935,473,64015,676,00002,289,664
9Jan 2, 2023 23:004,90046,906,50214,635,0001,045,0002,289,664
10Jan 2, 2023 23:005,13094,027,34816,416,79102,293,760
11Jan 2, 2023 23:005,13265,300,69416,421,70002,306,048
12Jan 2, 2023 23:005,14874,285,81416,473,31702,297,856