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 13, 2021 19:28alex3dalex3dScore: 5,396Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 19:285,35938,613,99916,141,0001,008,0002,531,328
2May 13, 2021 19:285,36832,524,55014,145,0003,031,0002,445,312
3May 13, 2021 19:285,37541,177,68816,189,0001,011,0002,453,504
4May 13, 2021 19:285,37735,297,53115,181,0002,024,0002,445,312
5May 13, 2021 19:285,38040,985,05716,203,0001,012,0002,437,120
6May 13, 2021 19:285,38842,616,77416,228,0001,014,0002,437,120
7May 13, 2021 19:285,39637,669,40817,266,00002,437,120
8May 13, 2021 19:285,40045,499,51217,279,00002,441,216
9May 13, 2021 19:285,40037,377,87417,280,00002,531,328
10May 13, 2021 19:285,63285,084,72018,022,12602,199,552
11May 13, 2021 19:285,64678,173,52918,067,30802,191,360
12May 13, 2021 19:285,65484,144,39518,092,45702,207,744