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 16, 2026 21:29janwwwjanwwwScore: 4,569Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 16, 2026 21:294,55225,163,72713,473,0001,094,0002,117,632
2Oct 16, 2026 21:294,55225,072,54613,472,0001,097,0002,117,632
3Oct 16, 2026 21:294,55225,107,32813,489,0001,080,0002,117,632
4Oct 16, 2026 21:294,56725,112,23613,507,0001,108,0002,117,632
5Oct 16, 2026 21:294,56925,107,13713,531,0001,091,0002,117,632
6Oct 16, 2026 21:294,58025,212,43513,564,0001,095,0002,117,632
7Oct 16, 2026 21:294,58625,282,99313,585,0001,091,0002,117,632
8Oct 16, 2026 21:294,60325,271,28713,593,0001,139,0002,117,632
9Oct 16, 2026 21:294,60725,384,11813,642,0001,102,0002,117,632