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:56Yuriy LyfenkoYuriy LyfenkoScore: 5,338Success
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:565,32237,210,81515,026,0002,003,0002,265,088
2May 15, 2021 21:565,32444,008,09515,034,0002,004,0002,527,232
3May 15, 2021 21:565,32739,841,06415,042,0002,005,0002,265,088
4May 15, 2021 21:565,32938,288,30316,050,0001,003,0002,265,088
5May 15, 2021 21:565,33236,848,84716,059,0001,003,0002,265,088
6May 15, 2021 21:565,33642,499,76216,072,0001,004,0002,265,088
7May 15, 2021 21:565,33841,616,53315,074,0002,009,0002,265,088
8May 15, 2021 21:565,33944,089,58816,080,0001,005,0002,404,352
9May 15, 2021 21:565,36838,646,60116,169,0001,010,0002,383,872
10May 15, 2021 21:565,55995,211,44817,789,60002,269,184
11May 15, 2021 21:565,56279,147,26717,797,77502,260,992
12May 15, 2021 21:565,56594,406,47117,808,22702,260,992