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 listDec 14, 2024 13:42Yuriy LyfenkoYuriy LyfenkoScore: 4,365Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2024 13:564,346535,200,69111,921,0001,986,0002,531,328
2Dec 12, 2024 18:234,348539,362,34211,926,0001,987,0002,269,184
3Dec 12, 2024 18:234,350534,092,50011,933,0001,988,0002,531,328
4Dec 14, 2024 13:564,353532,720,42611,939,0001,989,0002,269,184
5Dec 12, 2024 18:244,354534,319,14812,862,0001,071,0002,269,184
6Dec 12, 2024 18:244,356536,568,46011,947,0001,991,0002,531,328
7Dec 12, 2024 18:244,357531,798,65311,950,0001,991,0002,269,184
8Dec 12, 2024 18:244,365534,640,53211,973,0001,995,0002,531,328
9Dec 12, 2024 18:244,369534,200,56111,985,0001,997,0002,531,328
10Dec 12, 2024 18:244,372534,592,49711,992,0001,998,0002,531,328
11Dec 12, 2024 18:234,378540,125,22412,007,0002,001,0002,269,184
12Dec 14, 2024 13:564,387538,605,84512,032,0002,005,0002,531,328
13Dec 14, 2024 13:4220,448601,204,85061,406,0004,026,0002,260,992
14Dec 14, 2024 13:4220,583599,348,16863,840,0002,026,0002,269,184
15Dec 14, 2024 13:4220,605606,207,45061,940,0003,996,0002,269,184