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 28, 2024 09:33BenBenScore: 4,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 09:334,57540,334,32713,594,0001,045,0002,379,776
2Jul 28, 2024 09:334,58434,211,78814,668,00002,265,088
3Jul 28, 2024 09:334,59533,824,96514,705,00002,387,968
4Jul 28, 2024 09:334,59639,244,07014,708,00002,265,088
5Jul 28, 2024 09:334,60051,470,39313,670,0001,051,0002,392,064
6Jul 28, 2024 09:334,64831,679,36013,883,000991,0002,265,088
7Jul 28, 2024 09:334,65031,019,02013,889,000992,0002,506,752
8Jul 28, 2024 09:334,65543,318,45412,911,0001,986,0002,502,656
9Jul 28, 2024 09:334,65732,687,93912,915,0001,987,0002,469,888
10Jul 28, 2024 09:334,85689,283,65315,540,30302,289,664
11Jul 28, 2024 09:334,86371,944,14715,561,74702,277,376
12Jul 28, 2024 09:334,87482,840,24215,598,09302,289,664