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 21:59Karthik ReddyKarthik ReddyScore: 3,994Success
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 22:023,9736,021,872,83612,716,000024,576
2Oct 8, 2026 22:023,9796,021,887,67612,733,000024,576
3Oct 8, 2026 22:023,9816,021,982,86712,741,000024,576
4Oct 8, 2026 22:023,9906,021,884,78312,770,000024,576
5Oct 8, 2026 22:023,9946,022,168,44512,783,000024,576
6Oct 8, 2026 22:023,9956,021,928,73812,785,000024,576
7Oct 8, 2026 22:023,9966,021,946,42712,788,000024,576
8Oct 8, 2026 22:024,0066,021,935,61912,821,000024,576
9Oct 8, 2026 22:024,0066,021,848,34212,820,000024,576