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 listMar 15, 2026 06:03limanjun99limanjun99Score: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2026 06:035,27137,414,76115,876,000992,0002,387,968
2Mar 15, 2026 06:035,27344,587,82714,889,0001,985,0002,273,280
3Mar 15, 2026 06:035,27544,378,89114,895,0001,986,0002,273,280
4Mar 15, 2026 06:035,27645,691,11515,890,000993,0002,273,280
5Mar 15, 2026 06:035,27833,739,10115,896,000993,0002,400,256
6Mar 15, 2026 06:035,29145,748,36714,940,0001,992,0002,273,280
7Mar 15, 2026 06:035,29439,727,59014,947,0001,993,0002,400,256
8Mar 15, 2026 06:035,30544,172,54515,977,000998,0002,396,160
9Mar 15, 2026 06:035,31834,991,07615,016,0002,002,0002,400,256