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 5, 2026 21:32JhnWJhnWScore: 5,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 5, 2026 21:324,97625,290,33814,873,0001,052,0002,113,536
2Jul 5, 2026 21:325,00325,295,44114,954,0001,058,0002,113,536
3Jul 5, 2026 21:325,32426,362,65415,980,0001,058,0002,113,536
4Jul 5, 2026 21:325,32926,493,53315,990,0001,063,0002,113,536
5Jul 5, 2026 21:325,34226,512,44216,038,0001,058,0002,113,536
6Jul 5, 2026 21:325,34326,485,96116,029,0001,071,0002,113,536
7Jul 5, 2026 21:325,35026,421,05816,050,0001,073,0002,113,536
8Jul 5, 2026 21:325,37026,478,72516,126,0001,059,0002,113,536
9Jul 5, 2026 21:325,37026,541,66216,125,0001,062,0002,113,536