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 listSep 6, 2024 09:17Joseph KuoJoseph KuoScore: 10,479Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2024 09:1710,38358,660,72510,068,00023,158,0002,289,664
2Sep 6, 2024 09:1710,41562,816,06010,099,00023,228,0002,289,664
3Sep 6, 2024 09:1710,44255,144,2353,037,00030,378,0002,281,472
4Sep 6, 2024 09:1710,45968,081,5897,099,00026,370,0002,469,888
5Sep 6, 2024 09:1710,47960,909,3962,958,00030,576,0002,473,984
6Sep 6, 2024 09:1710,49163,561,0548,138,00025,432,0002,289,664
7Sep 6, 2024 09:1710,49456,008,5164,070,00029,511,0002,478,080
8Sep 6, 2024 09:1710,49756,996,4884,071,00029,519,0002,289,664
9Sep 6, 2024 09:1710,58270,814,4102,988,00030,875,0002,281,472