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 20:06Yuriy LyfenkoYuriy LyfenkoScore: 5,114Success
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 20:065,05639,055,06014,158,0002,022,0002,387,968
2May 24, 2021 20:065,06133,600,05014,172,0002,024,0002,269,184
3May 24, 2021 20:065,08441,118,91515,252,0001,016,0002,265,088
4May 24, 2021 20:065,09737,123,68815,292,0001,019,0002,383,872
5May 24, 2021 20:065,10748,532,78014,299,0002,042,0002,387,968
6May 24, 2021 20:065,10932,969,40814,307,0002,043,0002,392,064
7May 24, 2021 20:065,11440,907,56115,342,0001,022,0002,265,088
8May 24, 2021 20:065,12840,293,79816,408,00002,265,088
9May 24, 2021 20:065,16836,963,07714,593,0001,945,0002,383,872
10May 24, 2021 20:065,25853,151,55916,825,33302,269,184
11May 24, 2021 20:065,29586,072,91616,943,96302,273,280
12May 24, 2021 20:065,30854,419,07416,986,73002,265,088