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 listJun 1, 2026 19:58Victor MerckléVictor MerckléScore: 4,528Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 1, 2026 19:584,51322,007,08913,356,0001,088,0002,113,536
2Jun 1, 2026 19:584,51422,085,06113,373,0001,074,0002,113,536
3Jun 1, 2026 19:584,51722,034,91113,373,0001,082,0002,113,536
4Jun 1, 2026 19:584,51922,060,10113,377,0001,086,0002,113,536
5Jun 1, 2026 19:584,52822,113,18413,394,0001,097,0002,113,536
6Jun 1, 2026 19:584,52921,918,84913,418,0001,076,0002,113,536
7Jun 1, 2026 19:584,52922,122,02713,410,0001,084,0002,113,536
8Jun 1, 2026 19:584,53322,084,33213,436,0001,071,0002,113,536
9Jun 1, 2026 19:584,54122,130,05813,503,0001,031,0002,113,536