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 30, 2021 17:07Yuriy LyfenkoYuriy LyfenkoScore: 5,160Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 17:075,12340,428,59013,412,0002,980,0002,281,472
2May 30, 2021 17:075,12443,239,41211,926,0004,472,0002,408,448
3May 30, 2021 17:075,12646,255,89413,123,0003,280,0002,400,256
4May 30, 2021 17:075,13345,090,67213,141,0003,285,0002,265,088
5May 30, 2021 17:075,13546,375,13313,147,0003,286,0002,281,472
6May 30, 2021 17:075,15948,146,69814,308,0002,201,0002,412,544
7May 30, 2021 17:075,16053,803,50315,480,0001,032,0002,400,256
8May 30, 2021 17:075,17849,763,73015,533,0001,035,0002,400,256
9May 30, 2021 17:075,19144,390,78312,458,0004,152,0002,281,472
10May 30, 2021 17:075,37694,231,42217,202,62502,256,896
11May 30, 2021 17:075,38499,695,19917,227,50002,289,664
12May 30, 2021 17:075,43583,362,62217,392,69102,285,568