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 22:34Yuriy LyfenkoYuriy LyfenkoScore: 5,462Success
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 22:345,41936,180,81417,341,00002,396,160
2May 15, 2021 22:345,42039,099,65214,284,0003,061,0002,260,992
3May 15, 2021 22:345,43741,067,21717,399,00002,383,872
4May 15, 2021 22:345,43945,000,18916,382,0001,023,0002,383,872
5May 15, 2021 22:345,45041,675,90515,388,0002,051,0002,260,992
6May 15, 2021 22:345,45237,558,09415,393,0002,052,0002,396,160
7May 15, 2021 22:345,46233,944,58317,479,00002,265,088
8May 15, 2021 22:345,47033,064,93615,445,0002,059,0002,260,992
9May 15, 2021 22:345,48742,913,52617,558,00002,396,160
10May 15, 2021 22:345,65886,783,67718,105,47702,277,376
11May 15, 2021 22:345,67182,052,55518,146,63602,289,664
12May 15, 2021 22:345,68198,821,81618,180,73602,273,280