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 17:58Yuriy LyfenkoYuriy LyfenkoScore: 5,053Success
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 17:585,01431,816,69015,042,0001,002,0002,281,472
2May 29, 2021 17:585,02438,602,66615,074,0001,004,0002,396,160
3May 29, 2021 17:585,03041,309,58214,084,0002,012,0002,404,352
4May 29, 2021 17:585,03038,470,72714,084,0002,012,0002,404,352
5May 29, 2021 17:585,03637,592,91014,102,0002,014,0002,281,472
6May 29, 2021 17:585,04839,040,86814,135,0002,019,0002,281,472
7May 29, 2021 17:585,05337,427,46315,160,0001,010,0002,404,352
8May 29, 2021 17:585,06134,759,00714,170,0002,024,0002,281,472
9May 29, 2021 17:585,06840,633,46715,203,0001,013,0002,408,448
10May 29, 2021 17:585,20258,690,86816,645,03702,289,664
11May 29, 2021 17:585,21784,006,82816,693,05902,281,472
12May 29, 2021 17:585,24994,074,88116,797,90602,281,472