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 5, 2026 18:55FrederickFrederickScore: 8,260Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 18:567,3956,032,715,11013,662,00010,004,00020,480
2Oct 5, 2026 18:567,5646,033,555,92713,746,00010,459,00020,480
3Oct 5, 2026 18:567,5686,033,351,81913,762,00010,456,00020,480
4Oct 5, 2026 18:567,9476,035,953,22413,915,00011,517,0002,113,536
5Oct 5, 2026 18:568,2606,035,353,79714,196,00012,236,00020,480
6Oct 5, 2026 18:568,2616,035,456,49114,054,00012,383,00020,480
7Oct 5, 2026 18:568,3846,035,975,08714,348,00012,482,00020,480
8Oct 5, 2026 18:568,4696,036,110,64016,449,00010,654,0002,113,536
9Oct 5, 2026 18:568,6686,036,827,19716,966,00010,774,00020,480