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 listJul 29, 2024 17:45gviaugviauScore: 5,529Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 17:455,48041,089,32416,505,0001,031,0002,289,664
2Jul 29, 2024 17:455,49138,614,03317,570,00002,289,664
3Jul 29, 2024 17:455,49438,643,12516,547,0001,034,0002,519,040
4Jul 29, 2024 17:455,50439,919,55916,578,0001,036,0002,273,280
5Jul 29, 2024 17:455,51442,424,30016,607,0001,037,0002,269,184
6Jul 29, 2024 17:455,52443,505,10016,638,0001,039,0002,269,184
7Jul 29, 2024 17:455,52947,524,88216,652,0001,040,0002,269,184
8Jul 29, 2024 17:455,53642,856,78916,673,0001,042,0002,273,280
9Jul 29, 2024 17:455,58147,806,42915,874,0001,984,0002,289,664
10Jul 29, 2024 17:455,77383,513,88518,474,81802,301,952
11Jul 29, 2024 17:455,79095,577,33518,529,05802,301,952
12Jul 29, 2024 17:455,82396,753,70218,634,39102,297,856