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 22:13Karthik ReddyKarthik ReddyScore: 3,989Success
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:163,9716,021,749,90712,710,000024,576
2Oct 8, 2026 22:163,9806,021,707,87712,737,000024,576
3Oct 8, 2026 22:163,9846,022,052,48112,750,000024,576
4Oct 8, 2026 22:163,9856,021,791,57112,755,000024,576
5Oct 8, 2026 22:163,9896,021,872,34212,767,000024,576
6Oct 8, 2026 22:163,9906,021,883,93612,770,000024,576
7Oct 8, 2026 22:163,9996,021,901,52412,797,000024,576
8Oct 8, 2026 22:164,0046,022,026,72812,815,000024,576
9Oct 8, 2026 22:164,0066,021,806,28412,821,000024,576