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 16, 2021 18:00Yuriy LyfenkoYuriy LyfenkoScore: 5,427Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:005,4054,244,807,25415,262,0002,034,0002,519,040
2May 16, 2021 18:005,4064,238,266,06917,298,00002,523,136
3May 16, 2021 18:005,4084,242,078,88916,289,0001,018,0002,260,992
4May 16, 2021 18:005,4104,241,043,81416,293,0001,018,0002,519,040
5May 16, 2021 18:005,4164,243,513,07816,313,0001,019,0002,523,136
6May 16, 2021 18:005,4234,249,737,60515,314,0002,041,0002,260,992
7May 16, 2021 18:005,4274,244,954,34117,366,00002,519,040
8May 16, 2021 18:005,4284,247,545,27617,370,00002,527,232
9May 16, 2021 18:005,4344,244,761,71616,367,0001,022,0002,519,040
10May 16, 2021 18:005,6324,294,914,63818,023,08502,281,472
11May 16, 2021 18:005,6424,285,478,65318,055,89702,281,472
12May 16, 2021 18:005,6584,279,553,03718,104,08402,281,472