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 24, 2021 19:41Yuriy LyfenkoYuriy LyfenkoScore: 6,015Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 19:415,96738,988,97116,079,0003,014,0002,334,720
2May 24, 2021 19:415,96844,776,52216,083,0003,015,0002,326,528
3May 24, 2021 19:415,97844,691,92116,109,0003,020,0002,527,232
4May 24, 2021 19:415,98145,992,55017,124,0002,014,0002,531,328
5May 24, 2021 19:415,98249,315,33316,120,0003,022,0002,510,848
6May 24, 2021 19:415,99646,910,77218,179,0001,009,0002,334,720
7May 24, 2021 19:416,01531,898,87216,209,0003,039,0002,506,752
8May 24, 2021 19:416,03240,476,99516,254,0003,047,0002,359,296
9May 24, 2021 19:416,03440,784,51817,278,0002,032,0002,334,720
10May 24, 2021 19:416,16953,581,16119,740,66502,215,936
11May 24, 2021 19:416,18895,599,27819,802,84902,355,200
12May 24, 2021 19:416,212100,533,10219,878,15102,207,744