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 26, 2025 22:24Daniel MastalerzDaniel MastalerzScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2025 18:475,51837,701,46616,621,0001,038,0002,273,280
2Sep 26, 2025 18:475,52043,862,12716,625,0001,039,0002,273,280
3Sep 26, 2025 22:245,52243,846,49916,631,0001,039,0002,265,088
4Sep 26, 2025 18:475,52347,358,76717,674,00002,400,256
5Sep 26, 2025 18:475,52843,479,99816,649,0001,040,0002,396,160
6Sep 26, 2025 18:475,52941,184,50917,692,00002,273,280
7Sep 26, 2025 18:475,58250,126,71516,870,000992,0002,273,280
8Sep 26, 2025 18:475,58440,773,68415,883,0001,985,0002,387,968
9Sep 26, 2025 18:475,58446,494,88016,876,000992,0002,273,280
10Sep 26, 2025 18:475,58445,392,40915,884,0001,985,0002,273,280
11Sep 26, 2025 22:245,58941,400,32417,884,00002,273,280
12Sep 26, 2025 22:245,59034,567,30916,896,000993,0002,273,280