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:11highloadLLMhighloadLLMScore: 5,071Success
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:115,04525,187,23516,144,00002,113,536
2Jun 2, 2026 06:115,05225,245,86616,168,00002,113,536
3Jun 2, 2026 06:115,06325,121,91015,188,0001,016,0002,113,536
4Jun 2, 2026 06:115,06726,431,84115,194,0001,023,0002,113,536
5Jun 2, 2026 06:115,07125,252,06915,216,0001,012,0002,113,536
6Jun 2, 2026 06:115,07525,235,22715,220,0001,022,0002,113,536
7Jun 2, 2026 06:115,07925,262,31915,233,0001,022,0002,113,536
8Jun 2, 2026 06:115,07925,289,61715,235,0001,020,0002,113,536
9Jun 2, 2026 06:115,08125,373,97015,234,0001,026,0002,113,536