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 22, 2022 21:58Robert BurkeRobert BurkeScore: 4,891Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 21:584,83031,741,24315,457,00002,433,024
2Jul 22, 2022 21:584,86435,906,06314,528,0001,037,0002,273,280
3Jul 22, 2022 21:584,86734,495,76315,573,00002,428,928
4Jul 22, 2022 21:584,87832,977,02014,568,0001,040,0002,535,424
5Jul 22, 2022 21:584,87845,284,14714,568,0001,040,0002,437,120
6Jul 22, 2022 21:584,87831,527,69714,571,0001,040,0002,514,944
7Jul 22, 2022 21:584,89141,164,52615,652,00002,428,928
8Jul 22, 2022 21:584,89335,221,73014,613,0001,043,0002,433,024
9Jul 22, 2022 21:584,90545,887,90614,650,0001,046,0002,273,280
10Jul 22, 2022 21:584,99482,709,86915,979,63002,174,976
11Jul 22, 2022 21:585,00567,285,25316,015,69502,174,976
12Jul 22, 2022 21:585,03579,761,23216,111,08302,179,072