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 27, 2021 18:06Yurkov AlekseyYurkov AlekseyScore: 5,622Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:065,58744,893,69016,885,000993,0002,289,664
2May 27, 2021 18:065,59044,750,85115,902,0001,987,0002,289,664
3May 27, 2021 18:065,60338,062,48315,938,0001,992,0002,289,664
4May 27, 2021 18:065,60937,574,95215,956,0001,994,0002,289,664
5May 27, 2021 18:065,61444,101,85115,970,0001,996,0002,269,184
6May 27, 2021 18:065,62241,833,47315,992,0001,999,0002,281,472
7May 27, 2021 18:065,62235,156,05915,992,0001,999,0002,527,232
8May 27, 2021 18:065,64134,717,87516,045,0002,005,0002,269,184
9May 27, 2021 18:065,65741,968,49316,090,0002,011,0002,289,664
10May 27, 2021 18:065,76584,199,20218,449,05402,256,896
11May 27, 2021 18:065,81863,818,06518,617,78002,293,760
12May 27, 2021 18:066,310100,052,45920,191,17302,170,880