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:11Yuriy LyfenkoYuriy LyfenkoScore: 5,468Success
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:115,412556,605,63816,357,000962,0002,265,088
2May 16, 2021 18:115,423198,584,25716,333,0001,020,0002,265,088
3May 16, 2021 18:115,429281,086,52715,442,0001,930,0002,523,136
4May 16, 2021 18:115,434653,166,72416,366,0001,022,0002,265,088
5May 16, 2021 18:115,435192,039,01417,392,00002,265,088
6May 16, 2021 18:115,456748,069,39917,460,00002,265,088
7May 16, 2021 18:115,468471,559,17514,581,0002,916,0002,265,088
8May 16, 2021 18:115,477127,571,47916,553,000973,0002,523,136
9May 16, 2021 18:115,569693,434,78216,773,0001,048,0002,260,992
10May 16, 2021 18:115,610558,761,79717,951,19202,281,472
11May 16, 2021 18:115,636322,848,75918,034,23502,277,376
12May 16, 2021 18:115,658442,078,45318,105,08502,285,568