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 25, 2021 15:57Yuriy LyfenkoYuriy LyfenkoScore: 5,168Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:575,13644,731,77415,407,0001,027,0002,265,088
2May 25, 2021 15:575,13738,588,81915,410,0001,027,0002,392,064
3May 25, 2021 15:575,13737,393,67916,438,00002,392,064
4May 25, 2021 15:575,14235,471,36016,454,00002,523,136
5May 25, 2021 15:575,14439,362,71815,433,0001,028,0002,387,968
6May 25, 2021 15:575,14738,889,25515,442,0001,029,0002,392,064
7May 25, 2021 15:575,16837,490,06915,504,0001,033,0002,396,160
8May 25, 2021 15:575,18632,576,75416,596,00002,265,088
9May 25, 2021 15:575,20234,266,16215,607,0001,040,0002,527,232
10May 25, 2021 15:575,30779,283,01816,981,22802,273,280
11May 25, 2021 15:575,32474,359,30417,037,13002,281,472
12May 25, 2021 15:575,33549,220,11317,071,45302,281,472