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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 21:575,32846,062,44015,043,0002,005,0002,265,088
2May 15, 2021 21:575,33145,500,50815,052,0002,007,0002,387,968
3May 15, 2021 21:575,33444,985,89416,066,0001,004,0002,400,256
4May 15, 2021 21:575,33849,456,57815,073,0002,009,0002,265,088
5May 15, 2021 21:575,34332,850,19016,093,0001,005,0002,396,160
6May 15, 2021 21:575,34841,313,59615,101,0002,013,0002,265,088
7May 15, 2021 21:575,35742,993,06315,125,0002,016,0002,387,968
8May 15, 2021 21:575,36043,458,28915,134,0002,017,0002,506,752
9May 15, 2021 21:575,37446,839,95615,173,0002,023,0002,527,232
10May 15, 2021 21:575,56179,850,79717,794,60602,273,280
11May 15, 2021 21:575,56485,648,93417,805,26502,260,992
12May 15, 2021 21:575,60285,002,41517,926,37002,273,280