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, 2021 15:57Yuriy LyfenkoYuriy LyfenkoScore: 5,051Success
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, 2021 15:575,02029,592,26614,056,0002,008,0002,392,064
2May 30, 2021 15:575,02844,020,71214,080,0002,011,0002,265,088
3May 30, 2021 15:575,03042,771,60515,090,0001,006,0002,269,184
4May 30, 2021 15:575,03335,714,35215,098,0001,006,0002,527,232
5May 30, 2021 15:575,03945,628,40315,117,0001,007,0002,392,064
6May 30, 2021 15:575,05039,121,91215,150,0001,010,0002,265,088
7May 30, 2021 15:575,05141,731,03614,143,0002,020,0002,392,064
8May 30, 2021 15:575,05340,378,99014,149,0002,021,0002,400,256
9May 30, 2021 15:575,05537,280,57715,165,0001,011,0002,404,352
10May 30, 2021 15:575,20896,197,95916,665,50502,277,376
11May 30, 2021 15:575,24577,512,65616,783,61502,269,184
12May 30, 2021 15:575,27285,099,69716,869,55202,269,184