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 19, 2021 23:30alex3dalex3dScore: 5,050Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:304,99428,076,48113,984,0001,997,0002,535,424
2May 19, 2021 23:305,00736,857,35714,020,0002,002,0002,437,120
3May 19, 2021 23:305,00829,854,00814,024,0002,003,0002,445,312
4May 19, 2021 23:305,01531,346,79214,042,0002,006,0002,273,280
5May 19, 2021 23:305,01637,442,36814,046,0002,006,0002,445,312
6May 19, 2021 23:305,01936,655,47814,054,0002,007,0002,273,280
7May 19, 2021 23:305,02141,063,90614,059,0002,008,0002,535,424
8May 19, 2021 23:305,05035,939,24814,140,0002,020,0002,433,024
9May 19, 2021 23:305,06936,173,13914,194,0002,027,0002,273,280
10May 19, 2021 23:305,24281,107,49316,775,06102,199,552
11May 19, 2021 23:305,27890,658,99916,889,74302,207,744
12May 19, 2021 23:305,28480,844,18116,910,30402,203,648
13May 19, 2021 23:305,29392,715,79016,936,88702,199,552
14May 19, 2021 23:305,30857,380,30916,986,06702,191,360
15May 19, 2021 23:305,30874,362,57616,984,58602,199,552