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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:385,35844,895,32116,136,0001,008,0002,269,184
2May 17, 2021 19:385,36151,567,19415,249,0001,906,0002,269,184
3May 17, 2021 19:385,36648,445,43316,160,0001,010,0002,265,088
4May 17, 2021 19:385,37239,678,32517,191,00002,265,088
5May 17, 2021 19:385,38351,809,57116,270,000957,0002,265,088
6May 17, 2021 19:385,38634,616,25016,223,0001,013,0002,273,280
7May 17, 2021 19:385,39346,069,05716,242,0001,015,0002,396,160
8May 17, 2021 19:385,39444,817,20715,344,0001,918,0002,527,232
9May 17, 2021 19:385,40347,921,28016,328,000960,0002,265,088
10May 17, 2021 19:385,615101,217,17017,967,58002,273,280
11May 17, 2021 19:385,65466,129,71618,092,61002,281,472
12May 17, 2021 19:385,66384,498,54318,122,24402,277,376