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 29, 2021 16:51Yuriy LyfenkoYuriy LyfenkoScore: 5,093Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 16:515,05236,632,66214,146,0002,020,0002,396,160
2May 29, 2021 16:515,05732,309,10414,159,0002,022,0002,281,472
3May 29, 2021 16:515,06335,142,30615,191,0001,012,0002,519,040
4May 29, 2021 16:515,06437,565,09015,193,0001,012,0002,404,352
5May 29, 2021 16:515,07337,176,80215,219,0001,014,0002,281,472
6May 29, 2021 16:515,08637,831,90314,240,0002,034,0002,404,352
7May 29, 2021 16:515,09335,090,31615,280,0001,018,0002,281,472
8May 29, 2021 16:515,11339,424,55315,340,0001,022,0002,281,472
9May 29, 2021 16:515,12433,698,58715,373,0001,024,0002,404,352
10May 29, 2021 16:515,23775,127,30316,757,48402,293,760
11May 29, 2021 16:515,25088,411,13916,801,41902,289,664
12May 29, 2021 16:515,26674,780,21416,851,31802,289,664