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 11, 2021 17:39Yuriy LyfenkoYuriy LyfenkoScore: 5,593Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 17:395,58249,958,55916,871,000992,0002,502,656
2May 11, 2021 17:395,58442,692,68614,890,0002,978,0002,519,040
3May 11, 2021 17:395,58547,086,04416,880,000992,0002,396,160
4May 11, 2021 17:395,58850,480,03015,894,0001,986,0002,383,872
5May 11, 2021 17:395,58838,728,89815,894,0001,986,0002,519,040
6May 11, 2021 17:395,59238,528,43716,901,000994,0002,519,040
7May 11, 2021 17:395,59344,214,62515,910,0001,988,0002,510,848
8May 11, 2021 17:395,61245,748,63715,964,0001,995,0002,519,040
9May 11, 2021 17:395,61735,584,07315,978,0001,997,0002,519,040
10May 11, 2021 17:395,92468,229,59018,955,71902,281,472
11May 11, 2021 17:395,93964,472,04919,003,32702,281,472
12May 11, 2021 17:395,98575,560,70719,150,51002,277,376