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 11, 2021 21:43Yuriy LyfenkoYuriy LyfenkoScore: 5,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 21:435,65736,311,11216,090,0002,011,0002,523,136
2May 11, 2021 21:435,65946,736,35016,098,0002,012,0002,396,160
3May 11, 2021 21:435,65944,619,13217,104,0001,006,0002,265,088
4May 11, 2021 21:435,66042,478,66717,106,0001,006,0002,260,992
5May 11, 2021 21:435,67343,418,91317,145,0001,008,0002,260,992
6May 11, 2021 21:435,68840,110,05817,189,0001,011,0002,523,136
7May 11, 2021 21:435,70335,622,77116,223,0002,027,0002,392,064
8May 11, 2021 21:435,70644,421,01416,231,0002,028,0002,523,136
9May 11, 2021 21:435,70744,516,22217,249,0001,014,0002,396,160
10May 11, 2021 21:435,87588,920,01218,800,50702,273,280
11May 11, 2021 21:435,88898,653,82718,840,94902,273,280
12May 11, 2021 21:435,91285,346,64718,919,11702,277,376