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 2, 2026 06:31highloadLLMhighloadLLMScore: 5,044Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2026 06:315,02425,092,17616,078,00002,113,536
2Jun 2, 2026 06:315,03125,040,26616,100,00002,113,536
3Jun 2, 2026 06:315,04025,064,61915,105,0001,023,0002,113,536
4Jun 2, 2026 06:315,04325,064,72315,120,0001,019,0002,113,536
5Jun 2, 2026 06:315,04425,165,21015,126,0001,017,0002,113,536
6Jun 2, 2026 06:315,05425,209,96515,144,0001,029,0002,113,536
7Jun 2, 2026 06:315,06225,246,02015,189,0001,012,0002,113,536
8Jun 2, 2026 06:315,06525,251,61315,192,0001,018,0002,113,536
9Jun 2, 2026 06:315,06625,305,63015,187,0001,026,0002,113,536