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 16:05highloadLLMhighloadLLMScore: 4,306Success
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 16:054,29121,331,74112,719,0001,015,0002,113,536
2Jun 2, 2026 16:054,29421,304,13013,742,00002,113,536
3Jun 2, 2026 16:054,29821,319,90512,739,0001,016,0002,113,536
4Jun 2, 2026 16:054,30521,234,74612,755,0001,023,0002,113,536
5Jun 2, 2026 16:054,30621,385,63712,770,0001,012,0002,113,536
6Jun 2, 2026 16:054,30921,335,26312,775,0001,015,0002,113,536
7Jun 2, 2026 16:054,31121,362,46412,775,0001,023,0002,113,536
8Jun 2, 2026 16:054,31521,373,97912,790,0001,021,0002,113,536
9Jun 2, 2026 16:054,31821,381,93012,793,0001,026,0002,113,536