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 listMay 5, 2025 11:56Aniruddha DebAniruddha DebScore: 4,486Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 5, 2025 11:564,46230,097,07313,259,0001,019,0002,531,328
2May 5, 2025 11:564,47037,300,90512,261,0002,043,0002,531,328
3May 5, 2025 11:564,47329,575,30714,315,00002,531,328
4May 5, 2025 11:584,47332,201,88514,313,00002,269,184
5May 5, 2025 11:564,47427,109,78113,296,0001,022,0002,437,120
6May 5, 2025 11:564,47836,192,92314,331,00002,437,120
7May 5, 2025 11:564,48429,228,20014,348,00002,531,328
8May 5, 2025 11:584,48529,339,63713,328,0001,025,0002,433,024
9May 5, 2025 11:564,48634,066,70414,355,00002,428,928
10May 5, 2025 11:564,48635,708,08614,354,00002,269,184
11May 5, 2025 11:564,48840,184,39114,360,00002,506,752
12May 5, 2025 11:564,49528,451,20214,385,00002,433,024
13May 5, 2025 11:564,49830,243,75814,395,00002,531,328
14May 5, 2025 11:564,50230,553,59314,407,00002,531,328
15May 5, 2025 11:584,50535,541,13313,388,0001,029,0002,531,328
16May 5, 2025 11:564,52732,767,09714,486,00002,269,184
17May 5, 2025 11:564,65828,702,27113,913,000993,0002,269,184
18May 5, 2025 11:564,65930,209,53813,915,000993,0002,269,184