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 28, 2021 15:33Yuriy LyfenkoYuriy LyfenkoScore: 5,091Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 15:335,04643,323,08015,138,0001,009,0002,392,064
2May 28, 2021 15:335,05939,434,68715,177,0001,011,0002,392,064
3May 28, 2021 15:335,06646,096,01714,185,0002,026,0002,265,088
4May 28, 2021 15:335,07139,502,98614,198,0002,028,0002,396,160
5May 28, 2021 15:335,07543,306,06014,211,0002,030,0002,265,088
6May 28, 2021 15:335,08832,479,62314,247,0002,035,0002,527,232
7May 28, 2021 15:335,09141,245,25315,272,0001,018,0002,265,088
8May 28, 2021 15:335,10737,089,28716,342,00002,265,088
9May 28, 2021 15:335,10844,266,91216,346,00002,523,136
10May 28, 2021 15:335,26879,826,30716,856,02902,277,376
11May 28, 2021 15:335,31162,169,78616,996,21802,273,280
12May 28, 2021 15:335,36048,222,81817,151,40402,277,376