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 listJul 15, 2022 07:30Robert BurkeRobert BurkeScore: 5,427Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2022 07:305,37738,534,25115,182,0002,024,0002,428,928
2Jul 15, 2022 07:305,37739,887,81715,183,0002,024,0002,437,120
3Jul 15, 2022 07:305,37732,266,50315,183,0002,024,0002,273,280
4Jul 15, 2022 07:305,38430,654,12916,215,0001,013,0002,428,928
5Jul 15, 2022 07:305,40232,658,22216,270,0001,016,0002,428,928
6Jul 15, 2022 07:305,41340,135,65917,320,00002,514,944
7Jul 15, 2022 07:305,42735,104,18617,367,00002,437,120
8Jul 15, 2022 07:305,44144,111,78215,363,0002,048,0002,514,944
9Jul 15, 2022 07:305,46239,655,07014,395,0003,084,0002,428,928
10Jul 15, 2022 07:305,62379,266,99017,993,77602,183,168
11Jul 15, 2022 07:305,62489,997,53717,996,48602,179,072
12Jul 15, 2022 07:305,64757,476,64918,071,65202,174,976