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 listJul 26, 2026 12:08Kevin HeaveyKevin HeaveyScore: 4,004Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2026 12:103,9813,021,286,61212,741,00002,113,536
2Jul 26, 2026 12:103,9853,021,429,94812,754,00002,113,536
3Jul 26, 2026 12:103,9923,021,288,39812,775,00002,113,536
4Jul 26, 2026 12:103,9953,021,330,86612,784,00002,113,536
5Jul 26, 2026 12:104,0043,021,578,24312,814,00002,113,536
6Jul 26, 2026 12:104,0063,021,541,62812,820,00002,113,536
7Jul 26, 2026 12:104,0153,021,340,30512,851,00002,113,536
8Jul 26, 2026 12:104,0163,021,402,24712,853,00002,113,536
9Jul 26, 2026 12:104,1073,021,703,02913,145,00002,113,536