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 27, 2021 19:38Yuriy LyfenkoYuriy LyfenkoScore: 5,083Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:385,01941,869,08314,055,0002,007,0002,265,088
2May 27, 2021 19:385,04341,541,84514,121,0002,017,0002,265,088
3May 27, 2021 19:385,04546,257,52715,136,0001,009,0002,527,232
4May 27, 2021 19:385,04750,460,88914,132,0002,018,0002,392,064
5May 27, 2021 19:385,05945,405,42714,166,0002,023,0002,269,184
6May 27, 2021 19:385,08236,629,18715,246,0001,016,0002,396,160
7May 27, 2021 19:385,08335,118,84014,231,0002,033,0002,523,136
8May 27, 2021 19:385,08331,666,66116,265,00002,510,848
9May 27, 2021 19:385,09334,926,49315,280,0001,018,0002,265,088
10May 27, 2021 19:385,25194,154,87416,803,55302,269,184
11May 27, 2021 19:385,28845,597,70716,920,07902,285,568
12May 27, 2021 19:385,30561,746,27816,975,69302,273,280