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 29, 2026 19:25C21C21Score: 4,803Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 19:264,76526,169,65014,222,0001,026,0002,113,536
2Oct 29, 2026 19:264,77426,266,34814,221,0001,057,0002,113,536
3Oct 29, 2026 19:264,77426,112,00614,258,0001,019,0002,113,536
4Oct 29, 2026 19:264,80126,993,80514,256,0001,109,0002,113,536
5Oct 29, 2026 19:264,80326,264,83314,350,0001,020,0002,113,536
6Oct 29, 2026 19:264,80526,749,80614,272,0001,105,0002,113,536
7Oct 29, 2026 19:264,81126,882,51014,271,0001,126,0002,113,536
8Oct 29, 2026 19:264,83926,937,43814,389,0001,098,0002,113,536
9Oct 29, 2026 19:264,87327,001,97514,468,0001,127,0002,113,536