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 20:02highloadLLMhighloadLLMScore: 4,315Success
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 20:024,30321,153,25312,735,0001,036,0002,113,536
2Jun 2, 2026 20:024,30621,227,92012,763,0001,017,0002,113,536
3Jun 2, 2026 20:024,31021,172,16113,794,00002,113,536
4Jun 2, 2026 20:024,31021,213,59312,747,0001,048,0002,113,536
5Jun 2, 2026 20:024,31521,272,04012,778,0001,033,0002,113,536
6Jun 2, 2026 20:024,31521,477,72813,808,00002,113,536
7Jun 2, 2026 20:024,31621,201,15513,813,00002,113,536
8Jun 2, 2026 20:024,32321,234,18513,836,00002,113,536
9Jun 2, 2026 20:024,37721,406,18212,949,0001,060,0002,113,536