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 17:33Yuriy LyfenkoYuriy LyfenkoScore: 5,117Success
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 17:335,05744,479,53814,160,0002,022,0002,396,160
2May 24, 2021 17:335,07731,902,43015,232,0001,015,0002,392,064
3May 24, 2021 17:335,07847,595,14515,235,0001,015,0002,392,064
4May 24, 2021 17:335,08547,304,54714,239,0002,034,0002,265,088
5May 24, 2021 17:335,08832,266,62315,263,0001,017,0002,265,088
6May 24, 2021 17:335,08936,521,50914,251,0002,035,0002,392,064
7May 24, 2021 17:335,11733,635,12116,373,00002,265,088
8May 24, 2021 17:335,11738,598,70916,375,00002,265,088
9May 24, 2021 17:335,13436,581,05715,404,0001,026,0002,265,088
10May 24, 2021 17:335,25952,162,52616,827,33502,273,280
11May 24, 2021 17:335,29070,560,14616,928,00102,277,376
12May 24, 2021 17:335,82873,646,25018,650,03002,277,376