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 listJan 14, 2026 10:31Sanchit GuptaSanchit GuptaScore: 5,775Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 14, 2026 10:315,69938,719,93716,212,0002,026,0002,269,184
2Jan 14, 2026 10:315,70739,506,61716,233,0002,029,0002,293,760
3Jan 14, 2026 10:315,76340,553,04818,440,00002,269,184
4Jan 14, 2026 10:315,76341,314,84217,417,0001,024,0002,293,760
5Jan 14, 2026 10:315,77547,349,73117,454,0001,026,0002,293,760
6Jan 14, 2026 10:315,79248,690,57617,505,0001,029,0002,293,760
7Jan 14, 2026 10:315,79740,097,81817,521,0001,030,0002,293,760
8Jan 14, 2026 10:315,79938,756,78816,603,0001,953,0002,269,184
9Jan 14, 2026 10:315,80840,474,77518,584,00002,293,760