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 7, 2026 13:43IlyaIlyaScore: 4,311Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2026 13:434,30122,871,91312,716,0001,049,0002,113,536
2Jun 7, 2026 13:434,30522,895,07112,718,0001,058,0002,113,536
3Jun 7, 2026 13:434,30522,897,11812,716,0001,060,0002,113,536
4Jun 7, 2026 13:434,31022,884,75512,725,0001,069,0002,113,536
5Jun 7, 2026 13:434,31122,862,27512,738,0001,058,0002,113,536
6Jun 7, 2026 13:434,31322,872,40912,741,0001,061,0002,113,536
7Jun 7, 2026 13:434,32522,958,81312,768,0001,074,0002,113,536
8Jun 7, 2026 13:434,32522,902,74612,774,0001,066,0002,113,536
9Jun 7, 2026 13:434,32722,936,62112,778,0001,070,0002,113,536