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 3, 2026 20:59CountHarebourgCountHarebourgScore: 4,499Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 3, 2026 21:004,47324,716,33513,285,0001,030,0002,117,632
2Oct 3, 2026 21:004,48425,631,44213,311,0001,040,0002,113,536
3Oct 3, 2026 21:004,49329,239,76213,304,0001,076,0002,113,536
4Oct 3, 2026 21:004,49524,792,26313,351,0001,033,0002,117,632
5Oct 3, 2026 21:004,49924,837,66413,298,0001,099,0002,113,536
6Oct 3, 2026 21:004,50224,783,70413,306,0001,103,0002,113,536
7Oct 3, 2026 21:004,51324,967,14213,301,0001,141,0002,117,632
8Oct 3, 2026 21:004,52124,933,34113,347,0001,122,0002,113,536
9Oct 3, 2026 21:004,53624,943,01113,380,0001,138,0002,113,536