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 04:09FrederickFrederickScore: 4,226Success
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 04:094,1952,022,424,17813,427,00002,113,536
2Oct 5, 2026 04:094,2122,022,436,24813,480,00002,113,536
3Oct 5, 2026 04:094,2192,022,547,22713,501,00002,113,536
4Oct 5, 2026 04:094,2252,022,558,99813,520,00002,113,536
5Oct 5, 2026 04:094,2262,022,517,68513,524,00002,113,536
6Oct 5, 2026 04:094,2262,022,427,39113,526,00002,113,536
7Oct 5, 2026 04:094,2282,022,236,63813,530,00002,113,536
8Oct 5, 2026 04:094,2352,022,598,66913,553,00002,113,536
9Oct 5, 2026 04:094,2372,024,230,62013,559,00002,113,536