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 listFeb 11, 2023 22:14LiamLiamScore: 5,503Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 11, 2023 22:145,47542,128,91716,489,0001,030,0002,277,376
2Feb 11, 2023 22:145,47733,365,57516,496,0001,031,0002,269,184
3Feb 11, 2023 22:145,48133,711,04116,507,0001,031,0002,265,088
4Feb 11, 2023 22:145,48339,252,05317,547,00002,277,376
5Feb 11, 2023 22:145,49543,999,33316,549,0001,034,0002,277,376
6Feb 11, 2023 22:145,50237,415,70916,571,0001,035,0002,277,376
7Feb 11, 2023 22:145,50348,297,59416,574,0001,035,0002,277,376
8Feb 11, 2023 22:145,50847,567,44016,588,0001,036,0002,277,376
9Feb 11, 2023 22:145,51138,632,63716,597,0001,037,0002,277,376
10Feb 11, 2023 22:145,65587,513,30018,095,86902,289,664
11Feb 11, 2023 22:145,65576,597,11318,096,58602,293,760
12Feb 11, 2023 22:145,68687,213,68418,196,52802,289,664