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 30, 2022 13:48Keichi TakahashiKeichi TakahashiScore: 5,359Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:485,34034,050,40216,082,0001,005,0002,519,040
2May 30, 2022 13:485,34244,659,45014,079,0003,016,0002,519,040
3May 30, 2022 13:485,34347,836,61715,085,0002,011,0002,519,040
4May 30, 2022 13:485,34332,526,32015,088,0002,011,0002,383,872
5May 30, 2022 13:485,34633,576,40515,095,0002,012,0002,392,064
6May 30, 2022 13:485,35934,440,75515,132,0002,017,0002,392,064
7May 30, 2022 13:485,35946,405,10215,132,0002,017,0002,383,872
8May 30, 2022 13:485,37343,774,29916,181,0001,011,0002,383,872
9May 30, 2022 13:485,37740,938,46416,195,0001,012,0002,392,064
10May 30, 2022 13:486,01686,113,32819,251,94702,281,472
11May 30, 2022 13:486,04598,878,48919,344,90702,281,472
12May 30, 2022 13:486,05280,661,37519,366,54202,281,472