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 8, 2026 20:07janwwwjanwwwScore: 4,486Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 8, 2026 20:074,47524,698,92213,290,0001,030,0002,113,536
2Oct 8, 2026 20:074,47624,593,38513,277,0001,048,0002,113,536
3Oct 8, 2026 20:074,48124,743,30613,265,0001,076,0002,113,536
4Oct 8, 2026 20:074,48124,745,12813,332,0001,008,0002,113,536
5Oct 8, 2026 20:074,48624,809,73913,273,0001,085,0002,113,536
6Oct 8, 2026 20:074,49026,003,32213,300,0001,071,0002,113,536
7Oct 8, 2026 20:074,49524,782,13213,290,0001,097,0002,113,536
8Oct 8, 2026 20:074,50024,765,99213,338,0001,063,0002,113,536
9Oct 8, 2026 20:074,50024,734,12613,329,0001,072,0002,113,536