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 listOct 10, 2026 22:57janwwwjanwwwScore: 4,638Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 10, 2026 22:574,61325,081,48413,619,0001,145,0002,113,536
2Oct 10, 2026 22:574,61625,131,62513,649,0001,125,0002,113,536
3Oct 10, 2026 22:574,63225,325,38013,612,0001,212,0002,113,536
4Oct 10, 2026 22:574,63525,196,00413,701,0001,133,0002,113,536
5Oct 10, 2026 22:574,63825,258,74913,655,0001,188,0002,113,536
6Oct 10, 2026 22:574,64026,549,88813,649,0001,199,0002,113,536
7Oct 10, 2026 22:574,64025,251,54113,651,0001,200,0002,113,536
8Oct 10, 2026 22:574,64325,316,01613,706,0001,152,0002,113,536
9Oct 10, 2026 22:574,65327,165,76213,736,0001,155,0002,113,536