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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2026 19:335,14125,963,67115,427,0001,025,0002,113,536
2Jul 21, 2026 19:335,14926,053,24815,462,0001,016,0002,113,536
3Jul 21, 2026 19:335,16326,269,89615,462,0001,061,0002,113,536
4Jul 21, 2026 19:335,16526,129,24315,459,0001,069,0002,113,536
5Jul 21, 2026 19:335,17226,170,96015,490,0001,061,0002,113,536
6Jul 21, 2026 19:335,18326,242,12015,520,0001,067,0002,113,536
7Jul 21, 2026 19:335,18926,238,27015,537,0001,070,0002,113,536
8Jul 21, 2026 19:335,19326,267,53115,536,0001,083,0002,113,536
9Jul 21, 2026 19:335,19926,231,95515,556,0001,083,0002,113,536