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 29, 2021 14:54Yuriy LyfenkoYuriy LyfenkoScore: 5,037Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 14:545,01145,865,23214,032,0002,004,0002,265,088
2May 29, 2021 14:545,01845,705,49514,051,0002,007,0002,527,232
3May 29, 2021 14:545,02144,789,87815,063,0001,004,0002,265,088
4May 29, 2021 14:545,02137,471,49315,064,0001,004,0002,265,088
5May 29, 2021 14:545,02540,746,92715,075,0001,005,0002,396,160
6May 29, 2021 14:545,03333,599,78615,099,0001,006,0002,265,088
7May 29, 2021 14:545,03745,121,38614,104,0002,014,0002,387,968
8May 29, 2021 14:545,04244,330,50014,118,0002,016,0002,265,088
9May 29, 2021 14:545,04835,199,90815,146,0001,009,0002,392,064
10May 29, 2021 14:545,20392,129,92716,650,35702,281,472
11May 29, 2021 14:545,21563,334,20716,689,57602,281,472
12May 29, 2021 14:545,24990,872,85816,798,34302,240,512