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 23, 2021 17:43Yuriy LyfenkoYuriy LyfenkoScore: 5,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 17:435,49341,652,38717,576,00002,265,088
2May 23, 2021 17:435,49438,889,95216,548,0001,034,0002,265,088
3May 23, 2021 17:435,49935,239,17616,562,0001,035,0002,265,088
4May 23, 2021 17:435,50340,927,05716,574,0001,035,0002,269,184
5May 23, 2021 17:435,50843,937,40817,626,00002,265,088
6May 23, 2021 17:435,51643,340,95917,650,00002,269,184
7May 23, 2021 17:435,52542,075,49516,640,0001,040,0002,396,160
8May 23, 2021 17:435,53345,978,17416,663,0001,041,0002,396,160
9May 23, 2021 17:435,56844,531,96515,839,0001,979,0002,396,160
10May 23, 2021 17:435,75266,563,17518,406,81302,281,472
11May 23, 2021 17:435,77677,399,03318,483,14202,281,472
12May 23, 2021 17:435,82379,833,13418,634,59502,273,280