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 27, 2021 19:32Yuriy LyfenkoYuriy LyfenkoScore: 5,088Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:325,04939,374,58714,137,0002,019,0002,392,064
2May 27, 2021 19:325,04941,434,67615,149,0001,009,0002,396,160
3May 27, 2021 19:325,05243,932,53514,146,0002,020,0002,265,088
4May 27, 2021 19:325,06239,276,67714,174,0002,024,0002,265,088
5May 27, 2021 19:325,06841,744,81014,190,0002,027,0002,514,944
6May 27, 2021 19:325,07845,626,84015,235,0001,015,0002,396,160
7May 27, 2021 19:325,08839,455,71915,263,0001,017,0002,265,088
8May 27, 2021 19:325,09437,793,11514,264,0002,037,0002,392,064
9May 27, 2021 19:325,10330,708,31714,287,0002,041,0002,265,088
10May 27, 2021 19:325,23468,512,93116,750,31702,281,472
11May 27, 2021 19:325,27375,758,33016,872,92102,269,184
12May 27, 2021 19:325,33251,179,16917,062,70402,273,280