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 listMay 24, 2021 07:14Andrey TsvetkovAndrey TsvetkovScore: 6,007Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 07:145,97249,102,30217,100,0002,011,0002,334,720
2May 24, 2021 07:145,97840,480,25217,118,0002,013,0002,330,624
3May 24, 2021 07:145,98044,479,44217,123,0002,014,0002,531,328
4May 24, 2021 07:145,98345,826,91616,123,0003,023,0002,326,528
5May 24, 2021 07:145,98646,011,70617,139,0002,016,0002,535,424
6May 24, 2021 07:145,99839,076,92317,172,0002,020,0002,334,720
7May 24, 2021 07:146,00739,952,38116,186,0003,035,0002,535,424
8May 24, 2021 07:146,01440,738,18917,220,0002,025,0002,334,720
9May 24, 2021 07:146,01695,972,36419,250,61802,228,224
10May 24, 2021 07:146,02742,176,80817,255,0002,030,0002,527,232
11May 24, 2021 07:146,20485,022,74019,852,53502,244,608
12May 24, 2021 07:146,22790,230,36519,926,17302,232,320